On Sat, Oct 23, 2010 at 10:09 AM, Alexander Farber <alexander.far...@gmail.com> wrote: > http://perl.apache.org/dist/mod_perl-2.0-current/xs/Apache2/Connection/Apache2__Connection.h > > apr_socket_t *socket = > ap_get_module_config(c->conn_config, &core_module); > > if (s) { > ap_set_module_config(c->conn_config, &core_module, s); > } > > Maybe this ensures, that the custom perl protocol handler gets > the correct socket (the one bound at the port 843 and not 80)?
No, they probably do it so that they can get/set socket... I wonder why my mod_perl module works and the C one not. Regards Alex