summaryrefslogtreecommitdiff
path: root/modules/cache/cache_storage.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-10-16 19:30:08 +0000
committerGraham Leggett <minfrin@apache.org>2010-10-16 19:30:08 +0000
commit796d4cd0743f5865d88c23be4e7237d9795c64e9 (patch)
tree6fa28a83f417d2015f16c1ed92a261a8ad119fe5 /modules/cache/cache_storage.c
parent7c19e4963fa82f18e860cdab38b4b6c27f5cefbd (diff)
downloadhttpd-796d4cd0743f5865d88c23be4e7237d9795c64e9.tar.gz
Begin the process of optimising the parsing of Cache-Control headers. Parse
the incoming Cache-Control and Pragma headers once, instead of on each test. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023360 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/cache_storage.c')
-rw-r--r--modules/cache/cache_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/cache_storage.c b/modules/cache/cache_storage.c
index c0bea51262..457f63c70a 100644
--- a/modules/cache/cache_storage.c
+++ b/modules/cache/cache_storage.c
@@ -216,7 +216,7 @@ int cache_select(cache_request_rec *cache, request_rec *r)
}
}
- if (!ap_cache_check_allowed(r)) {
+ if (!ap_cache_check_allowed(cache, r)) {
return DECLINED;
}