httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [PATCH] Re: It's time to get 2.03-dev out
Date Mon, 07 Jun 2004 13:26:21 GMT
Steve Hay <> writes:


> I'm struggling to find the necessary docs to look at.  I think $b here 
> is an APR::Brigade, 

No, $b is an APR::Bucket; $bb is an APR::Brigade.

> Maybe APR::Bucket?  That has a read() which takes an optional "mode" 
> parameter (numeric?), and /returns/ the data read, so I tried this:
>             my $buffer = $b->read();
> and now it's all OK.
> So the following patch fixes this for me, but I'm very confused how 
> nobody else could have noticed this?

It's likely due to a recent API change in mp2's APR::Bucket
(IIRC the return value of $b->read() used to be a status code).  
What version of mp2 are you using?

Joe Schaefer

View raw message