On Mon, 2 Jul 2001, Bill Stoddard wrote:
> >
> > >cgi on all platforms is broken. Specifically, with the addition of
> > >filters, we have lost the ability to flush partially written buffers
> > >received from CGI scripts to the network.
> > [...]
> > >Apache 2.0 always does a blocking read (in the content length filter)
> >
> > Partial writes to the network from a CGI and content length are
> > mutually exclusive.
> >
>
> No S**t!! :-) That's why it's broken!
>
> Working on a fix now.
Bill, there is no fix for this. If the content_length filter determines
that a C-L is required, then we can't stream CGI's. It looks like the
problem is simply that we are using the wrong options to apr_bucket_read.
Switch that to a APR_NONBLOCK_READ, and the problem should go away.
Ryan
_____________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
Covalent Technologies [EMAIL PROTECTED]
-----------------------------------------------------------------------------