]> granicus.if.org Git - apache/commitdiff
Now you can run mod_deflate before mod_cache, and cache it.
authorPaul Querna <pquerna@apache.org>
Wed, 20 Jul 2005 14:35:21 +0000 (14:35 +0000)
committerPaul Querna <pquerna@apache.org>
Wed, 20 Jul 2005 14:35:21 +0000 (14:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219913 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/cache/mod_cache.c

diff --git a/CHANGES b/CHANGES
index 4a47d3a264184e0b44e27815e62ee43dde96c8d6..5c3c2a5719778cb3f29bf567e3128c4763c27356 100644 (file)
--- 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]
 
index 3c4ee0af2e511f372ac45047d5af7db06ae73c27..10e61c8f2989fd189188c31737d4662115115ffe 100644 (file)
@@ -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);
 }