httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: providing content-length
Date Mon, 30 Oct 2000 19:00:27 GMT

> > Why?  We only add it if we know that we have all the information.  We
> > don't add it if we have to save ANY data off to the side.  This seems
> > rather straight-forward to me, and it is what Roy has said in the past as
> > well.
> I'm a bit confused... maybe you can tell me which (if any) is the
> proper interpretation of what you are saying.
> . your comment above says (I think) "compute content length if the
>   first brigade is the only brigade (i.e., if the last bucket is EOS)"
> . your comment in a separate note says (I think) "if we can't send
>   chunked then compute content length, buffering if needed"
> My patch is closer to the second interpretation.

I'm saying both.  :-)  If we are allowed to send chunked-encoding then we
only compute content length if we have all the information in the first
pass.  If we aren't allowed to send chunked-encoding, then we have no
choice but to buffer the data.

Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message