httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r152676 - httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Tue, 08 Feb 2005 16:08:56 GMT
Author: jim
Date: Tue Feb  8 08:08:53 2005
New Revision: 152676

URL: http://svn.apache.org/viewcvs?view=rev&rev=152676
Log:
If we rec' a bad response header line, ignore what we've
rec'd so far and force BAD_GATEWAY.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?view=diff&r1=152675&r2=152676
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Tue Feb  8 08:08:53 2005
@@ -919,6 +919,7 @@
             if (!apr_date_checkmask(buffer, "HTTP/#.# ###*")) {
                 if (psc->badopt == bad_error) {
                     /* Nope, it wasn't even an extra HTTP header. Give up. */
+                    r->headers_out = NULL;
                     return ;
                 }
                 else if (psc->badopt == bad_body) {



Mime
View raw message