]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_proxy: Follow up to r1892740.
authorYann Ylavic <ylavic@apache.org>
Fri, 3 Sep 2021 11:08:16 +0000 (11:08 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 3 Sep 2021 11:08:16 +0000 (11:08 +0000)
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

modules/proxy/proxy_util.c

index c78e1e2b0385ab13b2c1411281e4d669bd3c3de7..d1c86f93fdb5d3ecfff0f0dc7a9cc16e7d57f9af 100644 (file)
@@ -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