Re: FW: Apache socket question

2003-06-02 Thread Jeff Trawick
Ben Laurie wrote: Jeff Trawick wrote: my suggestion on apache-modules was to set c-aborted in the pre-connection hook, presumably after passing the descriptor successfully to another process ap_lingering_close() doesn't perform the shutdown() if c-aborted Icky! Presumably the nice thing to do

Re: FW: Apache socket question

2003-06-01 Thread Ben Laurie
Jeff Trawick wrote: While this is probably a bad idea, I bet that if you could trick ap_lingering_close() not to close your socket when the connection is closed, you might be able to get away with this. The relevent line in server/connection.c:214 is: apr_socket_t *csd =

FW: Apache socket question

2003-05-31 Thread Atli Thorbjornsson
Hello, I use pre_connection to access the socket from Apache and, on certain requests, hand it off to another process. Only problem is Apache seems to call shutdown() on sockets once it is done with a request which ultimately kills the socket. That makes perfect sense but is there anyway

Re: FW: Apache socket question

2003-05-31 Thread Justin Erenkrantz
--On Friday, May 30, 2003 8:38 AM + Atli Thorbjornsson [EMAIL PROTECTED] wrote: I use pre_connection to access the socket from Apache and, on certain requests, hand it off to another process. Only problem is Apache seems to call shutdown() on sockets once it is done with a request

Re: FW: Apache socket question

2003-05-31 Thread Jeff Trawick
While this is probably a bad idea, I bet that if you could trick ap_lingering_close() not to close your socket when the connection is closed, you might be able to get away with this. The relevent line in server/connection.c:214 is: apr_socket_t *csd = ap_get_module_config(c-conn_config,