On Tue, May 07, 2002 at 01:26:54PM -0700, Aaron Bannert wrote: > > > Is there a better way to deal with this? Shouldn't the most prevalent mode > > > of an input filter be something as simple as AP_MODE_GIVE_ME_A_BUCKET? > > > > That would be a nice mode. An alternative is to peek, find nothing, then > > block on getting *some* input. > > That just sounds like the same thing with a blocking or non-blocking* > flag. To be honest, I don't see how any input filters would need anything > except one bucket at a time. If the filter doesn't need it, it passes > it downstream, otherwise it chugs and spits out other buckets. What else > is there?
Yuck. I think it'd be possible for input filters to buffer up or modify data and then pass them up with multiple buckets in a brigade rather than one bucket. Think of a mod_deflate input filter. -- justin