From: Yann Ylavic Date: Fri, 3 Sep 2021 11:08:16 +0000 (+0000) Subject: mod_proxy: Follow up to r1892740. X-Git-Tag: 2.5.0-alpha2-ci-test-only~842 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9235b1d6a71a13d5a5eee84cb47329c3ec0c13e;p=thirdparty%2Fapache%2Fhttpd.git mod_proxy: Follow up to r1892740. Really remove the old ap_filter_input_pending() handling forgotten by r1892740. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892851 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index c78e1e2b038..d1c86f93fdb 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -4938,17 +4938,6 @@ PROXY_DECLARE(int) ap_proxy_tunnel_run(proxy_tunnel_rec *tunnel) scheme, out->name); add_pollset(pollset, in->pfd, APR_POLLIN); - /* Flush any pending input data now, we don't know when - * the next POLLIN will trigger and retaining data might - * block the protocol. - */ - if (ap_filter_input_pending(in->c) == OK) { - rc = proxy_tunnel_forward(tunnel, in); - if (rc != OK) { - return rc; - } - } - /* Flush any pending input data now, we don't know when * the next POLLIN will trigger and retaining data might * deadlock the underlying protocol. We don't check for