* Fix proxy-sendchunk(s|ed) problem.
PR: 43183
Submitted by: Brian Rectanus <Brian.Rectanus breach.com>, Vincent Bray
Reviewed by: niq, rpluem, fielding
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@572421
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.6
+ *) mod_proxy_http: accept proxy-sendchunked/proxy-sendchunks as synonymous.
+ PR 43183 [Brian Rectanus <Brian.Rectanus breach.com>, Vincent Bray]
+
*) mod_proxy: Ensure that at least scheme://hostname[:port] matches between
worker and URL when searching for the best fitting worker for a given URL.
PR 40910 [Ruediger Pluem]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_proxy_http: make proxy-sendchunked work as documented.
- PR 43183
- Trunk version of patch:
- http://svn.apache.org/viewcvs.cgi?rev=572000&view=rev
- 2.2 version: noodl's patch at
- http://issues.apache.org/bugzilla/attachment.cgi?id=20699
- +1: niq, rpluem, fielding
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
else if (old_te_val) {
if (force10
|| (apr_table_get(r->subprocess_env, "proxy-sendcl")
- && !apr_table_get(r->subprocess_env, "proxy-sendchunks"))) {
+ && !apr_table_get(r->subprocess_env, "proxy-sendchunks")
+ && !apr_table_get(r->subprocess_env, "proxy-sendchunked"))) {
rb_method = RB_SPOOL_CL;
}
else {
rb_method = RB_STREAM_CL;
}
else if (!force10
- && apr_table_get(r->subprocess_env, "proxy-sendchunks")
+ && (apr_table_get(r->subprocess_env, "proxy-sendchunks")
+ || apr_table_get(r->subprocess_env, "proxy-sendchunked"))
&& !apr_table_get(r->subprocess_env, "proxy-sendcl")) {
rb_method = RB_STREAM_CHUNKED;
}