httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Rasmus Lerdorf)
Subject Re: Spinning httpds - One Solution
Date Fri, 21 Aug 1998 03:16:31 GMT
> r->connection->aborted is only set by Apache after a a soft timeout.
> Well, I'll ignore other situations.
> If the client just closes a connection, r->connection->aborted won't get
> set.  Well, that isn't true.  Since the same code gets called on a timeout
> then r->connection->aborted will actually get set if you get a SIGPIPE if
> you are in a soft timeout, but not if you are in a hard timeout even if
> the timeout has nothing to do with the connection being aborted.
> Why?  Haven't a clue, you would have to ask someone who has a clue.  But
> you should listen to the return value from rwrite.

Aha!  That answers a long outstanding headscratcher for me.  Is there a
good reason for r->connection->aborted not getting set if a client closes
the connection irregardless of the timeout state?  It would certainly make
life easier on me in PHP land if this was the case.


View raw message