From: Yann Ylavic Date: Thu, 14 Feb 2019 08:40:38 +0000 (+0000) Subject: Revert r1853564. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3fe94ae376125affe7196963e9e48fa812e3d6c;p=thirdparty%2Fapache%2Fhttpd.git Revert r1853564. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853565 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 03647e7176c..06f3ace5a74 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -372,11 +372,9 @@ static int stream_reqbody_chunked(proxy_http_req_t *req) */ APR_BRIGADE_PREPEND(input_brigade, header_brigade); - /* No flush here since it's done either on the next loop depending - * on stream_reqbody_read(), or after the loop when leaving. - */ + /* Flush here on EOS because we won't stream_reqbody_read() again */ rv = ap_proxy_pass_brigade(bucket_alloc, r, p_conn, req->origin, - input_brigade, 0); + input_brigade, seen_eos); if (rv != OK) { return rv; }