You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/03/20 16:49:41 UTC
[Bug 62199] New: Make mod_proxy response buffer's size configurable
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: hwibell@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62199] Make mod_proxy response buffer's size configurable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62199
--- Comment #1 from Hank Ibell <hw...@gmail.com> ---
Created attachment 35791
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35791&action=edit
Proposed patch for trunk
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62199] Make mod_proxy response header size configurable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62199
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Keywords| |FixedInTrunk
--- Comment #2 from Eric Covener <co...@gmail.com> ---
committed in r1828926, sorting out if/how to reorganize the bit fields.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62199] Make mod_proxy response header size configurable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62199
Hank Ibell <hw...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62199] Make mod_proxy response header size configurable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62199
Hank Ibell <hw...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Make mod_proxy response |Make mod_proxy response
|buffer's size configurable |header size configurable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org