[Zope-dev] ZServer FastCGI patch for IRIX (and others?)

Brian Lloyd Brian@digicool.com
Mon, 22 Nov 1999 09:59:40 -0500


> Below is a patch to let ZServer's FastCGI support work with 
> FastCGI client
> implementations that don't properly close the STDIN 
> sub-stream.  On the
> IRIX/Apache/cgi-fcgi combo used where I work, the client side 
> doesn't seem
> to know when it's done sending STDIN data, and thus the 
> ZServer side simply
> hangs forever waiting for it.  The patch below makes ZServer 
> ignore STDIN
> altogether if there is no Content-Length, and also stop 
> looking for more
> STDIN data if Content-Length or more bytes have already been read.

Thanks - I've checked this in.

Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com