arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1705528.patch

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