Oops, wrong list.

-------- Original Message --------
Subject: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]
Date: Sat, 28 Oct 2006 12:02:57 +0200
From: Ruediger Pluem <[EMAIL PROTECTED]>
To: [email protected]


On 10/26/2006 09:48 PM, Graham Leggett wrote:
> Hi all,
> 
> I have spent a few hours trying to get to the bottom of this, and and
> truly stuck.
> 
> When creating a new brigade inside a filter, I do this:
> 
> r = f->r;
> dobj->tmpbb = apr_brigade_create(r->pool, r->connection->bucket_alloc);
> 
> This runs fine - a brigade is created, containing a single bucket.
> 
> The trouble is, the bucket inside the brigade is corrupt - it's name
> consists of random bytes, and the pointers to its methods are either

Maybe stupid thought, but isn't this bucket the sentinel and doesn't
APR_BRIGADE_EMPTY return true on this brigade?

Regards

RĂ¼diger



Reply via email to