1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00

mod_proxy_fcgi, mod_authnz_fcgi: stop reading the response and issue an error

when parsing or forwarding the response fails.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1640040 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2014-11-16 22:25:32 +00:00
parent 54f0797498
commit f9520fec08
2 changed files with 8 additions and 0 deletions

View File

@@ -642,6 +642,10 @@ static apr_status_t handle_response(const fcgi_provider_conf *conf,
"%d", fn, type);
break;
}
/* Leave on above switch's inner error. */
if (rv != APR_SUCCESS) {
break;
}
/*
* Read/discard any trailing padding.

View File

@@ -683,6 +683,10 @@ recv_again:
"Got bogus record %d", type);
break;
}
/* Leave on above switch's inner error. */
if (rv != APR_SUCCESS) {
break;
}
if (plen) {
rv = get_data_full(conn, iobuf, plen);