Max Kellermann <[EMAIL PROTECTED]> writes:

> Hi,
>
> the function apreq_brigade_move() is bugged: it wants the "first
> bucket after the move", but calls APR_RING_UNSPLICE() which wants the
> "last element to unsplice".  This creates a off-by-one error which
> shows up when you read the request body which was filtered by
> mod_apreq: many buckets are lost.
>
> A patch is included in this email. It simply passes the previous
> bucket as right-hand limit.  I have commited it to svn, revision
> 209754.

++Max!  This may also fix the weird leak people have been
seeing with the prefetch code as well.


-- 
Joe Schaefer

Reply via email to