From: Ian Holsman Date: Fri, 23 Aug 2002 16:59:24 +0000 (+0000) Subject: Make Caching work for subrequests. X-Git-Tag: AGB_BEFORE_AAA_CHANGES~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6339a31a9ad20f474b8d27eed56f116fda125302;p=apache Make Caching work for subrequests. 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 --- diff --git a/modules/experimental/mod_cache.c b/modules/experimental/mod_cache.c index 18d81523d5..3165492e0b 100644 --- a/modules/experimental/mod_cache.c +++ b/modules/experimental/mod_cache.c @@ -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.