mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Fix proxy-sendchunk(s|ed) problem
PR 43183 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@572000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -947,7 +947,8 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
|
||||
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 {
|
||||
@@ -959,7 +960,8 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user