altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1705528.patch

008793
Index: modules/cache/cache_util.c
008793
===================================================================
008793
--- a/modules/cache/cache_util.c	(revision 1705527)
008793
+++ b/modules/cache/cache_util.c	(revision 1705528)
008793
@@ -1254,7 +1254,6 @@
008793
     headers_out = apr_table_overlay(r->pool, r->headers_out,
008793
                                         r->err_headers_out);
008793
 
008793
-    apr_table_clear(r->err_headers_out);
008793
008793
     headers_out = ap_cache_cacheable_headers(r->pool, headers_out,
008793
                                                   r->server);
008793
Index: modules/cache/mod_cache.c
008793
===================================================================
008793
--- a/modules/cache/mod_cache.c	(revision 1705527)
008793
+++ b/modules/cache/mod_cache.c	(revision 1705528)
008793
@@ -1452,6 +1452,7 @@
008793
          * headers that might have snuck in.
008793
          */
008793
         r->headers_out = ap_cache_cacheable_headers_out(r);
008793
+        apr_table_clear(r->err_headers_out);
008793
 
008793
         /* Merge in our cached headers.  However, keep any updated values. */
008793
         /* take output, overlay on top of cached */