httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_cache.c
Date Wed, 24 Jul 2002 04:05:36 GMT
ianh        2002/07/23 21:05:36

  Modified:    modules/experimental mod_cache.c
  Log:
  the directives ignorecachecontrol & ignorelastmodified weren't being set
  properly for virtual hosts.
  
  Revision  Changes    Path
  1.47      +3 -3      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- mod_cache.c	28 Jun 2002 08:40:23 -0000	1.46
  +++ mod_cache.c	24 Jul 2002 04:05:35 -0000	1.47
  @@ -153,7 +153,7 @@
        * - Pragma: no-cache
        * - Any requests requiring authorization.
        */
  -    if (conf->ignorecachecontrol_set == 1 && conf->ignorecachecontrol ==
1 && auth == NULL) {
  +    if (conf->ignorecachecontrol == 1 && auth == NULL) {
           ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
               "incoming request is asking for a uncached version of %s, but we know better
and are ignoring it", url);
       }
  @@ -799,11 +799,11 @@
           (overrides->complete_set == 0) ? base->complete : overrides->complete;
   
       ps->no_last_mod_ignore =
  -        (overrides->no_last_mod_ignore_set) ? 
  +        (overrides->no_last_mod_ignore_set == 0) ? 
                       base->no_last_mod_ignore : 
                       overrides->no_last_mod_ignore;
       ps->ignorecachecontrol  =
  -        (overrides->ignorecachecontrol_set) ? 
  +        (overrides->ignorecachecontrol_set == 0) ? 
                       base->ignorecachecontrol : 
                       overrides->ignorecachecontrol;
   
  
  
  

Mime
View raw message