]> granicus.if.org Git - apache/commit
mod_proxy_fcgi: Fix sending of response without some HTTP headers
authorJeff Trawick <trawick@apache.org>
Tue, 8 Apr 2014 20:07:04 +0000 (20:07 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 8 Apr 2014 20:07:04 +0000 (20:07 +0000)
commit7775249b30ecf0887d06a88ad878ec35f21955bf
treef4299db2263aacfc78f99f381fbee75071191089
parentc26062eb307495156fb6d0ea57fe5c274c4914e4
mod_proxy_fcgi: Fix sending of response without some HTTP headers
that might be set by filters.

The problem occurs when no body bytes were read while reading the
response headers, resulting in an empty brigade being sent down
the filter stack.  One particualr filter that mishandles the empty
initial brigade is mod_deflate.  It neglects to add to the response
header fields.

PR: 55558
Submitted by: Jim Riggs <jim riggs.me>
Reviewed by: trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1585824 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_fcgi.c