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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32835c0f634f14da34ffb43c102569ff3683aa31;p=thirdparty%2Fapache%2Fhttpd.git * 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 915e3b10eaf..9b20a9f550f 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. */