fix another case of 304 response sent to an unconditional request
Submitted By: covener
Reviewed By: covener, jim, ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1636001 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.11
+ *) mod_cache: Avoid a 304 response to an unconditional requst when an AH00752
+ CacheLock error occurs during cache revalidation. [Eric Covener]
+
*) mod_ssl: Move OCSP stapling information from a per-certificate store to
a per-server hash. PR 54357, PR 56919. [Alex Bligh <alex alex.org.uk>,
Yann Ylavic, Kaspar Brand]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_cache: Restore original request headers when skipping updating the cache due to
- a busy/broken CacheLock. Can result in a 304 to an uncoditional request.
- trunk patch: http://svn.apache.org/r1634237
- 2.4.x patch: trunk works
- +1 covener, jim, ylavic
-
* mod_proxy_connect: EBCDIC fix for ProxyRemote to HTTPS. PR57092
trunk patch: http://svn.apache.org/r1634425
2.4.x patch: trunk works
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv,
r, APLOGNO(00752) "Cache locked for url, not caching "
"response: %s", r->uri);
+ /* cache_select() may have added conditional headers */
+ if (cache->stale_headers) {
+ r->headers_in = cache->stale_headers;
+ }
+
}
}
else {