r->headers when mod_cache is enabled and the response
is cached for the first time.
Submitted by: elu
Reviewed by: ylavic, minfrin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1705528 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.17
+ *) mod_cache: r->err_headers_out is not merged into
+ r->headers when mod_cache is enabled and the response
+ is cached for the first time. [Edward Lu]
+
*) mod_slotmem_shm: Fix slots/SHM files names on restart for systems that
can't create new (clear) slots while previous children gracefully stopping
still use the old ones (e.g. Windows, OS2). mod_proxy_balancer failed to
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_cache: r->err_headers_out is not merged into
- r->headers when mod_cache is enabled and the response
- is cached for the first time.
- trunk patch: http://svn.apache.org/r1704392
- http://svn.apache.org/r1704395
- 2.4.x patch: trunk works
- +1: elu, ylavic, minfrin
- ylavic: possibly with a CHANGES entry
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
headers_out = apr_table_overlay(r->pool, r->headers_out,
r->err_headers_out);
- apr_table_clear(r->err_headers_out);
if (r->content_type
&& !apr_table_get(headers_out, "Content-Type")) {
* forward all of them to the client, including non-cacheable ones).
*/
r->headers_out = cache_merge_headers_out(r);
+ apr_table_clear(r->err_headers_out);
/* Merge in our cached headers. However, keep any updated values. */
/* take output, overlay on top of cached */