You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by re...@apache.org on 2002/11/06 15:08:31 UTC

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

rederpj     2002/11/06 06:08:31

  Modified:    modules/experimental mod_cache.c
  Log:
  Since the directives CacheIgnoreCacheControl and CacheIgnoreNoLastMod
  are AP_INIT_FLAG one should be able to set them explicitely to "Off".
  
  Submitted by: Andre Malo
  Reviewed by: Paul J. Reder
  
  Revision  Changes    Path
  1.62      +2 -2      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.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- mod_cache.c	12 Oct 2002 07:51:09 -0000	1.61
  +++ mod_cache.c	6 Nov 2002 14:08:31 -0000	1.62
  @@ -963,7 +963,7 @@
       conf =
           (cache_server_conf *)ap_get_module_config(parms->server->module_config,
                                                     &cache_module);
  -    conf->no_last_mod_ignore = 1;
  +    conf->no_last_mod_ignore = flag;
       conf->no_last_mod_ignore_set = 1;
       return NULL;
   
  @@ -977,7 +977,7 @@
       conf =
           (cache_server_conf *)ap_get_module_config(parms->server->module_config,
                                                     &cache_module);
  -    conf->ignorecachecontrol = 1;
  +    conf->ignorecachecontrol = flag;
       conf->ignorecachecontrol_set = 1;
       return NULL;
   }