]> granicus.if.org Git - apache/commit
mod_disk_cache: When renegotiating an already cached Vary'd response, create
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 17 May 2007 16:10:29 +0000 (16:10 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 17 May 2007 16:10:29 +0000 (16:10 +0000)
commitc1150a199a080d99f58dd964d064acdf068e3cab
tree74a9b20e6bdd3798006fc8b18499b9e9c45364f0
parentd9fc60e7143ac708ef5b14e628c07d412adf2be2
mod_disk_cache: When renegotiating an already cached Vary'd response, create
the refreshed .vary structure in the right directory.  Otherwise, we'll create
a new .vary layout underneath the already existing one - oops!

* modules/cache/mod_disk_cache.c
  (store_headers): Temporarily clear dobj->prefix if it is set to ensure that
  we create the .vary structure underneath the cache root.

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