By searching the web for apr_brigade_length() I bumped into this page:

http://www.zend.com/lists/php-dev/200206/msg00467.html

apr_brigade_length() seems to be used there, most likely successfully.
Interesting...

Bojan

Quoting Justin Erenkrantz <[EMAIL PROTECTED]>:

> On Fri, Sep 13, 2002 at 10:23:02AM +1000, Bojan Smojver wrote:
> > This is what I came up so far, but I've hit a problem along the way. No
> > matter what I do (or should I say, whatever I tried to do so far :-),
> > the number of input bytes is zero (HTTP/1.1) or not even calculated
> > (HTTP/1.0). The number of output bytes is correct, at least in my tests.
> > Could anyone point out what kind of silliness am I doing in the input
> > filter? I kind of understand what output filters do, but I'm still a bit
> > vague on input filters...
> 
> I think the second parameter to apr_brigade_length in the input
> filter may need to be 1.
> 
> The thing is that you may be getting the socket bucket which has
> an indeterminate length.  Therefore, you need to force a read_all
> to occur.  I'm not exactly sure if that's what is happening, but
> that's my first guess.  -- justin




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Reply via email to