httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [PATCH] Move http header parsing into the http_input_filter
Date Tue, 25 Feb 2003 21:04:26 GMT
Justin Erenkrantz wrote:
> --On Tuesday, February 25, 2003 1:47 PM -0500 Bill Stoddard 
> <bill@wstoddard.com> wrote:
> 
>> I have to responds to this (even though I am up to my ears in other
>> work)... If bb contains -any- bytes after after the call to
>> ap_get_brigade(), then there is something wrong (that is fixable)
>> in the filter stack. As I envision how this should operate, bb
>> should be empty when we call apr_brigade_destroy. It it is not,
>> then something else is broken.
> 
> 
> Huh?  How would a client read the body?  ap_get_brigade has to return 
> data.  If you say that we now must always throw away the first read, 
> you're scoring high on my hack-o-meter.  =)  We went this approach 
> earlier with AP_MODE_INIT, but, ISTR, we ended up removing it.  -- justin
> 

Ahh, okay my bad. It's a bug. Told you I have not tested this with POST 
requests :-)

Bill


Mime
View raw message