httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: should input filter return the exact amount of bytes asked for?
Date Thu, 13 Nov 2003 08:38:14 GMT
Justin Erenkrantz wrote:
> 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?


  0 bytes = Not OK

right? Or how otherwise would you explain the assertion:


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     mod_perl Guide --->

View raw message