Thiemo Voigt <[EMAIL PROTECTED]> writes:

> assume an Apache thread (process) does a read,
> waiting for e.g. the next HTTP header on a persistent connection.
> Due to some circumstances, either the client of the server itself
> resets the connection. I assume the Apache worker's read
> returns with a -1. But how does the Apache thread react to that?
> Does it exit, or does it execute a new accept to accept a new
> connection?

In general, it will stay around to handle new connections.  Note that
there are conditions where it will exit after a connection has been
processed, some of which are MPM-specific.  There may be too many idle
threads around.  Maybe the process has just now reached the
MaxRequestsPerChild limit.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to