httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_cache.c
Date Wed, 27 Mar 2002 21:20:37 GMT
stoddard    02/03/27 13:20:37

  Modified:    modules/experimental mod_cache.c
  Log:
  Ensure CACHE_OUT gets installed in front of SUBREQ_CORE on subrequsts.
  
  Revision  Changes    Path
  1.37      +5 -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.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_cache.c	13 Mar 2002 21:47:03 -0000	1.36
  +++ mod_cache.c	27 Mar 2002 21:20:37 -0000	1.37
  @@ -974,9 +974,13 @@
       ap_register_output_filter("CACHE_IN", 
                                 cache_in_filter, 
                                 AP_FTYPE_CONTENT_SET);
  +    /* CACHE_OUT must go into the filter chain before SUBREQ_CORE to
  +     * handle subrequsts. Decrementing filter type by 1 ensures this 
  +     * happens.
  +     */
       ap_register_output_filter("CACHE_OUT", 
                                 cache_out_filter, 
  -                              AP_FTYPE_CONTENT_SET);
  +                              AP_FTYPE_CONTENT_SET-1);
       ap_register_output_filter("CACHE_CONDITIONAL", 
                                 cache_conditional_filter, 
                                 AP_FTYPE_CONTENT_SET);
  
  
  

Mime
View raw message