On Tue, Nov 04, 2003 at 01:41:46AM -0800, Stas Bekman wrote:
filter. What happens if the filter returns less bytes (while there is still more data coming?) What happens if the filter returns more bytes than requested (e.g. because it uncompressed some data). After all the incoming
Less bytes = OK. Same bytes = OK. More bytes = Not OK. (Theoretically possible though with bad filters.)
Great. Where this should be documented? In the ap_get_brigade .h?
Also,
0 bytes = Not OK
right? Or how otherwise would you explain the assertion:
AP_DEBUG_ASSERT(!APR_BRIGADE_EMPTY(bb));
in consumers like ap_get_client_block. Or do you say that a filter can return a non-empty brigade with an empty single bucket?
Thanks Justin.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com