/[Apache-SVN]
ViewVC logotype

Revision 1591328


Jump to revision: Previous Next
Author: ylavic
Date: Wed Apr 30 14:58:33 2014 UTC (10 years, 1 month ago)
Changed paths: 2
Log Message:
mod_cache: Preserve non-cacheable headers forwarded from an origin 304
           response. PR 55547.

When mod_cache asks for a revalidation of a stale entry and the origin responds
with a 304 (not that stale), the module strips the non-cacheable headers from
the origin response and merges the stale headers to update the cache.

The problem is that mod_cache won't forward the non-cacheable headers to the
client, for example if the 304 response contains both Set-Cookie and
'Cache-Control: no-cache="Set-Cookie"' headers, or CacheIgnoreHeaders is used.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/modules/cache/mod_cache.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26