apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Frank <ef-li...@email.de>
Subject Re: [long] problems with brigade handling and thread safety
Date Fri, 04 Dec 2009 06:52:57 GMT
Bojan Smojver wrote:
> Have you tried removing the buckets from the brigade with
> APR_BUCKET_REMOVE() and then putting it in the second brigade?
Yes, this was the way I tried.

> As for copying buckets, once you read the contents of the
> bucket into a standalone buffer, you can simply create a new
> bucket from it and use that (i.e that would be the "deep" copy
> of the bucket).
This sounds reasonable in the first place. But after Grahams
reply, I'm going to think about it twice. I'm not sure if I'm
aware of all possible implications and if "deep" copying buckets
is really the way to go for me. Thank you.


View raw message