/[Apache-SVN]
ViewVC logotype

Revision 1869420


Jump to revision: Previous Next
Author: ylavic
Date: Tue Nov 5 16:41:14 2019 UTC (4 years, 5 months ago)
Changed paths: 6
Log Message:
mod_proxy: Improve tunneling loop.

Support half closed connections and pending data draining (for protocols like
rsync). PR 61616.

When reading on one side goes faster than writing on the other side, the output
filters chain may start buffering data and finally block, which will break
bidirectional tunneling for some protocols.

To avoid this, proxy_tunnel_run() now stops polling/reading until pending data
are drained, and recovers appropriately.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/docs/log-message-tags/next-number modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/mod_proxy.h modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/mod_proxy_connect.c modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/proxy_util.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26