From: Paul Querna Date: Wed, 20 Jul 2005 14:35:21 +0000 (+0000) Subject: Now you can run mod_deflate before mod_cache, and cache it. X-Git-Tag: 2.1.7~5^2~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d836630f7bbc5574c54008573024ccba6fc0037;p=apache Now you can run mod_deflate before mod_cache, and cache it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219913 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 4a47d3a264..5c3c2a5719 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.7 [Remove entries to the current 2.0 section below, when backported] + *) mod_cache: Run the CACHE_SAVE and CACHE_OUT Filters after other content + filters. [Paul Querna] + *) mod_negotiation: Correctly report 404 instead of 403 for missing files. [Paul Querna] diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index 3c4ee0af2e..10e61c8f29 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -1018,7 +1018,7 @@ static void register_hooks(apr_pool_t *p) ap_register_output_filter("CACHE_SAVE", cache_save_filter, NULL, - AP_FTYPE_CONTENT_SET-1); + AP_FTYPE_CONTENT_SET+1); /* CACHE_OUT must go into the filter chain before SUBREQ_CORE to * handle subrequsts. Decrementing filter type by 1 ensures this * happens. @@ -1027,7 +1027,7 @@ static void register_hooks(apr_pool_t *p) ap_register_output_filter("CACHE_OUT", cache_out_filter, NULL, - AP_FTYPE_CONTENT_SET-1); + AP_FTYPE_CONTENT_SET+1); ap_hook_post_config(cache_post_config, NULL, NULL, APR_HOOK_REALLY_FIRST); }