httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1603122 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Tue, 17 Jun 2014 10:37:15 GMT
Author: ylavic
Date: Tue Jun 17 10:37:15 2014
New Revision: 1603122

URL: http://svn.apache.org/r1603122
Log:
mod_proxy_fcgi: follow up to r1592032.

Also break the outer loop when "sending stdin" fails.

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

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1603122&r1=1603121&r2=1603122&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Tue Jun 17 10:37:15 2014
@@ -474,6 +474,9 @@ static apr_status_t dispatch(proxy_conn_
                 to_send -= write_this_time;
                 iobuf_cursor += write_this_time;
             }
+            if (rv != APR_SUCCESS) {
+                break;
+            }
 
             if (last_stdin) {
                 pfd.reqevents = APR_POLLIN; /* Done with input data */



Mime
View raw message