]> granicus.if.org Git - apache/commitdiff
Make Caching work for subrequests.
authorIan Holsman <ianh@apache.org>
Fri, 23 Aug 2002 16:59:24 +0000 (16:59 +0000)
committerIan Holsman <ianh@apache.org>
Fri, 23 Aug 2002 16:59:24 +0000 (16:59 +0000)
If this is not set to one under the AP_FTYPE_CONTENT_SET
then the EOS is eaten by the CORE_SUBREQ (name?) filter
causing us not to cache anything

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96499 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_cache.c

index 18d81523d5a18a04bcb7625a1483644b51aac372..3165492e0bf9092d0b1fd350f8ec7510d8a9570e 100644 (file)
@@ -1009,7 +1009,7 @@ static void register_hooks(apr_pool_t *p)
     ap_register_output_filter("CACHE_IN", 
                               cache_in_filter, 
                               NULL,
-                              AP_FTYPE_CONTENT_SET);
+                              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.