Am Sonntag, den 31.12.2006, 19:02 -0700 schrieb Joe Lewis: > ... split bucket brigades ...
You mean splitting buckets, not brigades, do you? To avoid a misunderstanding here are the relevant API functions. >From apr_buckets.h ------------------------------------------------------------------------ /** * Split one bucket in two. * @param e The bucket to split * @param point The offset to split the bucket at */ #define apr_bucket_split(e,point) (e)->type->split(e, point) /** * Split one bucket in two at the specified position by duplicating * the bucket structure (not the data) and modifying any necessary * start/end/offset information. If it's not possible to do this * for the bucket type (perhaps the length of the data is indeterminate, * as with pipe and socket buckets), then APR_ENOTIMPL is returned. * @param e The bucket to split * @param point The offset of the first byte in the new bucket */ apr_status_t (*split)(apr_bucket *e, apr_size_t point);