httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r360174 - /httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
Date Fri, 30 Dec 2005 22:16:19 GMT
Author: pquerna
Date: Fri Dec 30 14:16:14 2005
New Revision: 360174

URL: http://svn.apache.org/viewcvs?rev=360174&view=rev
Log:
When we get some kind of write failure or protocol problem, close the current socket, since
we don't know if we are left in a working state.

Modified:
    httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c?rev=360174&r1=360173&r2=360174&view=diff
==============================================================================
--- httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c Fri Dec 30 14:16:14
2005
@@ -632,6 +632,7 @@
         ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
                      "proxy: FCGI: Failed Writing Request to %s:",
                      server_portstr);
+        conn->close = 1;
         return HTTP_SERVICE_UNAVAILABLE;
     }
     
@@ -641,6 +642,7 @@
         ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
                      "proxy: FCGI: Failed writing Environment to %s:",
                      server_portstr);
+        conn->close = 1;
         return HTTP_SERVICE_UNAVAILABLE;
     }
 
@@ -650,6 +652,7 @@
         ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
                      "proxy: FCGI: Failed writing STDIN to %s:",
                      server_portstr);
+        conn->close = 1;
         return HTTP_SERVICE_UNAVAILABLE;
     }
 



Mime
View raw message