httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1718569 - /httpd/httpd/trunk/modules/http2/h2_from_h1.c
Date Tue, 08 Dec 2015 11:22:12 GMT
Author: ylavic
Date: Tue Dec  8 11:22:11 2015
New Revision: 1718569

URL: http://svn.apache.org/viewvc?rev=1718569&view=rev
Log:
h2_from_h1: To avoid any further confusion, r->err_headers should be cleared
once merged into r->headers_out.

Modified:
    httpd/httpd/trunk/modules/http2/h2_from_h1.c

Modified: httpd/httpd/trunk/modules/http2/h2_from_h1.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_from_h1.c?rev=1718569&r1=1718568&r2=1718569&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_from_h1.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_from_h1.c Tue Dec  8 11:22:11 2015
@@ -358,6 +358,7 @@ static h2_response *create_response(h2_f
     if (!apr_is_empty_table(r->err_headers_out)) {
         r->headers_out = apr_table_overlay(r->pool, r->err_headers_out,
                                            r->headers_out);
+        apr_table_clear(r->err_headers_out);
     }
     
     /*



Mime
View raw message