]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
*) mod_http2: added support for bootstrapping WebSockets via HTTP/2, as
authorStefan Eissing <icing@apache.org>
Tue, 20 Jun 2023 12:01:09 +0000 (12:01 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 20 Jun 2023 12:01:09 +0000 (12:01 +0000)
commit3ed9d65b05184f8859d9d37654c54a0d00ef0a96
tree46e9fd75f8a294b0463b238d4b2793499d8ed65f
parent93b072e61c640bc1e5aa3399af08530a889b334d
  *) mod_http2: added support for bootstrapping WebSockets via HTTP/2, as
     described in RFC 8441. A new directive 'H2WebSockets on|off' has been
     added. The feature is by default not enabled.
     As also discussed in the manual, this feature should work for setups
     using "ProxyPass backend-url upgrade=websocket" without further changes.
     Special server modules for WebSockets will have to be adapted,
     most likely, as the handling if IO events is different with HTTP/2.
     HTTP/2 WebSockets are supported on platforms with native pipes. This
     excludes Windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910507 13f79535-47bb-0310-9956-ffa450edef68
41 files changed:
.github/workflows/linux.yml
CMakeLists.txt
changes-entries/h2_websockets.txt [new file with mode: 0644]
configure.in
docs/manual/mod/mod_http2.xml
include/ap_mmn.h
include/http_core.h
modules/http2/config2.m4
modules/http2/h2.h
modules/http2/h2_bucket_beam.c
modules/http2/h2_bucket_beam.h
modules/http2/h2_c1_io.c
modules/http2/h2_c2.c
modules/http2/h2_c2_filter.c
modules/http2/h2_config.c
modules/http2/h2_config.h
modules/http2/h2_conn_ctx.h
modules/http2/h2_mplx.c
modules/http2/h2_proxy_util.c
modules/http2/h2_push.c
modules/http2/h2_request.c
modules/http2/h2_session.c
modules/http2/h2_stream.c
modules/http2/h2_util.c
modules/http2/h2_util.h
modules/http2/h2_version.h
modules/http2/h2_ws.c [new file with mode: 0644]
modules/http2/h2_ws.h [new file with mode: 0644]
modules/http2/mod_http2.c
modules/http2/mod_http2.dsp
modules/proxy/proxy_util.c
server/core.c
test/clients/.gitignore [new file with mode: 0644]
test/clients/Makefile.in [new file with mode: 0644]
test/clients/h2ws.c [new file with mode: 0644]
test/modules/http2/test_800_websockets.py [new file with mode: 0644]
test/modules/http2/ws_server.py [new file with mode: 0644]
test/pyhttpd/config.ini.in
test/pyhttpd/env.py
test/pyhttpd/ws_util.py [new file with mode: 0644]
test/travis_run_linux.sh