"Sylbert L" <[EMAIL PROTECTED]> writes: > Hi guys, > > I'm kinda new at this .. just started playing around with the apache source. I need >to modify the source such that apache doesn't close a socket connection once it is >created. Any ideas / pointers on where to start & how to do this ? I'm just lookin at >a temporary solution for the time being .. It might just mean commenting out a few >lines at a few places. But where ? Which module is responsible for handling HTTP >connections ?
Plz tell your e-mail client to wrap at 70-something chars (but don't wrap patches, which occasionaly extend beyond normal line lengths). The MPM (e.g., server/mpm/prefork/prefork.c) calls ap_process_connection() followed by ap_lingering_close() to close the socket. But the connection is likely already effectively dead because of client-side processing, even if Apache has not closed the socket. What do you wish to achieve with the socket? > Also where would I find some documentation regarding the same .. You generally have to read the source code and step through points of interest with a debugger. For Apache 1.3 there is the "Apache Server Commentary" book which explains the source code. I've never seen the book myself and cannot comment on its usefulness. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...
