]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
More mod_cache tweakage...
authorSander Striker <striker@apache.org>
Sun, 6 Mar 2005 18:57:22 +0000 (18:57 +0000)
committerSander Striker <striker@apache.org>
Sun, 6 Mar 2005 18:57:22 +0000 (18:57 +0000)
commitc70cb4ba14274d4e7e6b1424f7599651dfe62ebd
tree69001b721013f7056d10aefbdfb3c8e9b10157dd
parent438c65986ecfe336e34331d0423fe733002f67c6
More mod_cache tweakage...

* modules/cache/mod_cache.c

  (cache_save_filter): Instead of unconditionally returning a 304 when
   the original request was conditional and we issued a cache revalidating
   request, handle the request as if it came in while our cache was
   still valid.

* modules/cache/cache_storage.c

  (cache_select_url): Strip off the conditional headers from the original
   request, prior to adding our own for the purpose of revalidating our
   cached response.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156330 13f79535-47bb-0310-9956-ffa450edef68
modules/cache/cache_storage.c
modules/cache/mod_cache.c