From: Ruediger Pluem Date: Sun, 23 Jul 2006 15:50:08 +0000 (+0000) Subject: * This shortcut is too short. It is not up to the filters to decide X-Git-Tag: 2.3.0~2232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34fefaa99c912590a808305d50c0d48175e816c;p=thirdparty%2Fapache%2Fhttpd.git * This shortcut is too short. It is not up to the filters to decide whether filters down the chain can do something useful with this empty brigade. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@424759 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 2c22bb55747..037eae55de5 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -263,7 +263,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f, /* Do nothing if asked to filter nothing. */ if (APR_BRIGADE_EMPTY(bb)) { - return APR_SUCCESS; + return ap_pass_brigade(f->next, bb); } /* If we don't have a context, we need to ensure that it is okay to send @@ -878,7 +878,7 @@ static apr_status_t inflate_out_filter(ap_filter_t *f, /* Do nothing if asked to filter nothing. */ if (APR_BRIGADE_EMPTY(bb)) { - return APR_SUCCESS; + return ap_pass_brigade(f->next, bb); } c = ap_get_module_config(r->server->module_config, &deflate_module);