httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: cvs commit: httpd-2.0 STATUS
Date Mon, 02 Jul 2001 18:04:13 GMT
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                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------


Mime
View raw message