Re: apr_bucket_split question...

2007-01-06 Thread Drew Bertola
Joachim Zobel wrote: > 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. > I was trying, and doing it right. I had

Re: apr_bucket_split question...

2007-01-06 Thread Joachim Zobel
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

apr_bucket_split question...

2007-01-05 Thread Drew Bertola
Hi, If I split a bucket using: apr_bucket_split(b, offset) what exactly happens to the two pieces? 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? Also, how can I determine the length of the data held by th