From a34fefaa99c912590a808305d50c0d48175e816c Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Sun, 23 Jul 2006 15:50:08 +0000 Subject: [PATCH] * 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 --- modules/filters/mod_deflate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.2