httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r580297 - /httpd/httpd/trunk/modules/http/http_protocol.c
Date Fri, 28 Sep 2007 11:03:32 GMT
Author: rpluem
Date: Fri Sep 28 04:03:29 2007
New Revision: 580297

URL: http://svn.apache.org/viewvc?rev=580297&view=rev
Log:
* Revert r561352 as this breaks authentication completely.

Modified:
    httpd/httpd/trunk/modules/http/http_protocol.c

Modified: httpd/httpd/trunk/modules/http/http_protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_protocol.c?rev=580297&r1=580296&r2=580297&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_protocol.c (original)
+++ httpd/httpd/trunk/modules/http/http_protocol.c Fri Sep 28 04:03:29 2007
@@ -1138,6 +1138,7 @@
     }
 
     if (!r->assbackwards) {
+        apr_table_t *tmp = r->headers_out;
 
         /* For all HTTP/1.x responses for which we generate the message,
          * we need to avoid inheriting the "normal status" header fields
@@ -1145,6 +1146,7 @@
          * error or redirect, except for Location on external redirects.
          */
         r->headers_out = r->err_headers_out;
+        r->err_headers_out = tmp;
         apr_table_clear(r->err_headers_out);
 
         if (ap_is_HTTP_REDIRECT(status) || (status == HTTP_CREATED)) {



Mime
View raw message