Graham Leggett wrote: > Hi all, > > I need some clarification as well on the contract for > apr_bucket_split(). Are there bucket types that it is not safe to try > and split?
Yes, because even those that don't support splits have to implement the split "method". > Can you try a split on any bucket and get reasonable behaviour (ie > APR_SUCCESS or APR_EIVAL, but not crash)? Yes. ie: a bucket type that do not support splits must have a noop split method that returns ENOTIMPL (apr-util/buckets). -- Davi Arnaut
