httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: cvs commit: httpd-2.0/modules/test mod_bucketeer.c
Date Thu, 30 May 2002 21:52:56 GMT
> From: Justin Erenkrantz []
> On Thu, May 30, 2002 at 02:43:05PM -0700, Ryan Bloom wrote:
> > This doesn't fix the underlying problem.  Mod_bucketeer needs to be
> > smart enough to copy buckets if it doesn't recognize their type.  If
> > bucket can't be copied, then the filter should remove the bucket
> > one brigade and add it to the other.
> >
> > Any filter that silently removes buckets is broken.
> True, but I thought part of the idea behind buckets is so that the
> backing type doesn't have to be known.


> The fact here is that not all buckets can be "read" such as EOS,
> flush, and error.  Perhaps these buckets should return an error
> if they are read?  Then, if a filter sees APR_ENOTIMPL, it can
> copy them over.

Every bucket can be read.  That is a mandatory function that all buckets
must implement.  If the back-end bucket-type isn't know, the filter can
ALWAYS do a read/apr_bucket_make_heap.


View raw message