You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2019/02/14 08:34:05 UTC

svn commit: r1853564 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Author: ylavic
Date: Thu Feb 14 08:34:05 2019
New Revision: 1853564

URL: http://svn.apache.org/viewvc?rev=1853564&view=rev
Log:
mod_proxy_http: follow up to r1853409: no need to double flush on EOS.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=1853564&r1=1853563&r2=1853564&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Thu Feb 14 08:34:05 2019
@@ -372,9 +372,11 @@ static int stream_reqbody_chunked(proxy_
          */
         APR_BRIGADE_PREPEND(input_brigade, header_brigade);
 
-        /* Flush here on EOS because we won't stream_reqbody_read() again */
+        /* No flush here since it's done either on the next loop depending
+         * on stream_reqbody_read(), or after the loop when leaving.
+         */
         rv = ap_proxy_pass_brigade(bucket_alloc, r, p_conn, req->origin,
-                                   input_brigade, seen_eos);
+                                   input_brigade, 0);
         if (rv != OK) {
             return rv;
         }