* mod_proxy_fcgi: Follow up to r1640495. Ignore body data from backend
authorJan Kaluža <jkaluza@apache.org>
Tue, 9 Dec 2014 11:39:57 +0000 (11:39 +0000)
committerJan Kaluža <jkaluza@apache.org>
Tue, 9 Dec 2014 11:39:57 +0000 (11:39 +0000)
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

modules/proxy/mod_proxy_fcgi.c

index 915e3b10eaf104eb9eb9fdd48f2caaddea467516..9b20a9f550ff4229e76ffda09e8da0978b74177e 100644 (file)
@@ -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.
                                  */