mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Initial WebTransport implementation
This implements the upcoming draft-13 but has bits to make it work with draft-02 that most (all?) Chromium versions use. Data and events are not going through cowboy_stream beyond init. Since this approach appears to work well it may be a good idea to do the same for Websocket over HTTP/2+ and improve its performance.
This commit is contained in:
parent
24d32de931
commit
58909b0144
13 changed files with 1574 additions and 22 deletions
|
@ -426,7 +426,7 @@ reject_upgrade_header(Config) ->
|
|||
% Examples.
|
||||
|
||||
accept_handshake_when_enabled(Config) ->
|
||||
doc("Confirm the example for Websocket over HTTP/2 works. (RFC9220, RFC8441 5.1)"),
|
||||
doc("Confirm the example for Websocket over HTTP/3 works. (RFC9220, RFC8441 5.1)"),
|
||||
%% Connect to server and confirm that SETTINGS_ENABLE_CONNECT_PROTOCOL = 1.
|
||||
#{conn := Conn, settings := Settings} = rfc9114_SUITE:do_connect(Config),
|
||||
#{enable_connect_protocol := true} = Settings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue