https://bz.apache.org/bugzilla/show_bug.cgi?id=62199

            Bug ID: 62199
           Summary: Make mod_proxy response buffer's size configurable
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_proxy_http
          Assignee: bugs@httpd.apache.org
          Reporter: hwib...@gmail.com
  Target Milestone: ---

Users of mod_proxy may find that the 8K proxy response buffer is not sufficient
to hold large headers. This enhancement allows the proxy response buffer to be
configurable via the worker parameter 'ResponseFieldSize'.

A few bugs were opened for some weird behavior that was observed both before
and after applying the patch:
 - https://bz.apache.org/bugzilla/show_bug.cgi?id=62196
 - https://bz.apache.org/bugzilla/show_bug.cgi?id=62197
 - https://bz.apache.org/bugzilla/show_bug.cgi?id=62198


Example usage:

# Allow proxy headers up to 10000 bytes instead of just 8KB.
<VirtualHost *:80>
  ProxyPass "/test" "http://localhost:8080"; responsefieldsize=10000
  ProxyPassReverse "/test" "http://localhost:8080";
</VirtualHost>

Backend header size:
$ curl -sD - http://localhost:8080 -o /dev/null | grep X-Test-Header-1 | wc -c
    9020

Proxy header size:
$ curl -sD - http://localhost/test -o /dev/null | grep X-Test-Header-1 | wc -c
    9020

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to