httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rede...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_cache.c
Date Wed, 06 Nov 2002 14:08:31 GMT
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;
   }
  
  
  

Mime
View raw message