httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Bertola <d...@jupiterhosting.com>
Subject Re: apr_bucket_split question...
Date Sat, 06 Jan 2007 00:07:29 GMT
Sorry to be a pest with this easy question, but it's not documented, and 
I'm having a hard time with this function.

Anyone?

Drew Bertola wrote:
> 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 the bucket?
>
> Thanks a lot,
> -- 
> Drew


Mime
View raw message