httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Zobel <>
Subject Re: apr_bucket_split question...
Date Sat, 06 Jan 2007 20:39:05 GMT
Am Freitag, den 05.01.2007, 14:06 -0800 schrieb Drew Bertola:
> My impression is that b is now the head piece (part before the split) 
> and APR_BUCKET_NEXT(b) would return the tail piece.  Correct?

Just try. 

> Also, how can I determine the length of the data held by the bucket?

apr_bucket_read will tell you and it is cheap as soon as you have a heap
bucket. In your case it will be cheap on both parts of the split bucket.

But you probably won't need the length. You just need to insert your
stuff between the to buckets. 


View raw message