From 4bfd084c627274ff98a52fedf8a8edce385ea296 Mon Sep 17 00:00:00 2001 From: "Paul J. Reder" Date: Wed, 6 Nov 2002 14:08:31 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97428 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/experimental/mod_cache.c b/modules/experimental/mod_cache.c index 8b732ccfcb..93a0c60709 100644 --- a/modules/experimental/mod_cache.c +++ b/modules/experimental/mod_cache.c @@ -963,7 +963,7 @@ static const char *set_cache_ignore_no_last_mod(cmd_parms *parms, void *dummy, 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 @@ static const char *set_cache_ignore_cachecontrol(cmd_parms *parms, 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; } -- 2.40.0