From: Jan Kaluža Date: Tue, 9 Dec 2014 11:39:57 +0000 (+0000) Subject: * mod_proxy_fcgi: Follow up to r1640495. Ignore body data from backend X-Git-Tag: 2.5.0-alpha~3616 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9b5862f675c90d8f8fda02a6df588594a0776f;p=apache * mod_proxy_fcgi: Follow up to r1640495. Ignore body data from backend for 304 responses also when read with the header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1644031 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 915e3b10ea..9b20a9f550 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -603,7 +603,7 @@ recv_again: } if (script_error_status == HTTP_OK - && !APR_BRIGADE_EMPTY(ob)) { + && !APR_BRIGADE_EMPTY(ob) && !ignore_body) { /* Send the part of the body that we read while * reading the headers. */