From: Yann Ylavic Date: Tue, 17 Jun 2014 10:37:15 +0000 (+0000) Subject: mod_proxy_fcgi: follow up to r1592032. X-Git-Tag: 2.5.0-alpha~4043 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa5ca9770eab624b06d6402c219d990135c2b84d;p=apache mod_proxy_fcgi: follow up to r1592032. Also break the outer loop when "sending stdin" fails. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1603122 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 71ec004dc3..8317fd8375 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -474,6 +474,9 @@ static apr_status_t dispatch(proxy_conn_rec *conn, proxy_dir_conf *conf, 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 */