You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ia...@apache.org on 2002/08/23 18:59:24 UTC

cvs commit: httpd-2.0/modules/experimental mod_cache.c

ianh        2002/08/23 09:59:24

  Modified:    modules/experimental mod_cache.c
  Log:
  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
  
  Revision  Changes    Path
  1.53      +1 -1      httpd-2.0/modules/experimental/mod_cache.c
  
  Index: mod_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- mod_cache.c	18 Aug 2002 12:33:05 -0000	1.52
  +++ mod_cache.c	23 Aug 2002 16:59:24 -0000	1.53
  @@ -1009,7 +1009,7 @@
       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.