httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: IOL and send_fb
Date Mon, 16 Aug 1999 23:20:34 GMT
On Mon, 16 Aug 1999, Ben Laurie wrote:

> Dean Gaudet wrote:
> > 
> > On Mon, 16 Aug 1999, Ben Laurie wrote:
> > 
> > > OK, I sort of get this, but... it seems to me that this won't timeout
> > > CGIs (which it should, right?) ... if the CGI never says anything, we
> > > hang forever, no?
> > 
> > before the blocking read the loop sets the timeout on the CGI BUFF back
> > to the appropriate amount (which can be different from the timeout for
> > the client now, btw).
> 
> I've just realised that timeout == 0 means don't wait at all, not wait
> forever. Given this, isn't the non-blocking thing redundant (i.e.
> timeout == 0 implies nonblock)?

right, you don't need ap_setnonblock or whatever it's called... because
timeout controls that now. 

yeah the timeout values are documented in the ap_iol.h file but not in the
buff.h file, oops. 

Dean


Mime
View raw message