]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: handle async tunneling of Upgrade(d) protocols.
authorYann Ylavic <ylavic@apache.org>
Thu, 2 Jul 2020 00:14:26 +0000 (00:14 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 2 Jul 2020 00:14:26 +0000 (00:14 +0000)
commitb5faaa48c3665cc0f6487109ad9253cc3ae1ed46
tree5cbe6a8c4841cf0f4b9bbe76e84eea5651bb7568
parent29bcc0eaa3ffd4ca419d831d8c5ba57f58229bf2
mod_proxy_http: handle async tunneling of Upgrade(d) protocols.

When supported by the MPM (i.e. "event"), provide async callbacks and let
them be scheduled by ap_mpm_register_poll_callback_timeout(), while the
handler returns SUSPENDED.

The new ProxyAsyncDelay directive (if positive) enables async handling,
while ProxyAsyncIdleTimeout determines the timeout applied on both ends
while tunneling.

Github: closes #126

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879419 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_http.c