On Tue, 1 Oct 2002, Paul J. Reder wrote:

> Are there any other bucket types to worry about (i.e. that can't just be
> copied)?

Currently no, but your code shouldn't have that kind of knowledge.  There
might be third-party buckets of this sort.  Indeterminate length is
indicated by bkt->length == -1.  Just do an rv=apr_bucket_copy(bkt,&copy);
and if rv comes back as APR_ENOTIMPL, you know you have to read from the
bucket and try again.

--Cliff

Reply via email to