httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: Speaking of pipes from cgis causing trouble...
Date Wed, 02 Oct 2002 02:37:56 GMT
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


Mime
View raw message