httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brianp...@gmail.com>
Subject Re: mod_deflate handling of empty initial brigade
Date Wed, 02 Jun 2010 11:17:06 GMT
On Wed, Jun 2, 2010 at 3:37 AM, Nick Kew <nick@webthing.com> wrote:
>
> On 2 Jun 2010, at 10:49, Joe Orton wrote:
>
>> Maybe we should have a strict API here rather than a loose one:
>>
>> "filters MUST NOT pass an empty brigade down the filter chain."
>
> That's not really an API, it's a rule, and pretty-much unenforcable.

Wait a minute...why not just change the implementation of
ap_pass_brigade so that it returns APR_SUCCESS immediately
when passed an empty brigade?  That would solve the problem
globally.

-Brian

Mime
View raw message