deno/test_util
Matt Mastracci 42c426e769
feat(ext/websocket): websockets over http2 (#21040)
Implements `WebSocket` over http/2. This requires a conformant http/2
server supporting the extended connect protocol.

Passes approximately 100 new WPT tests (mostly `?wpt_flags=h2` versions
of existing websockets APIs).

This is implemented as a fallback when http/1.1 fails, so a server that
supports both h1 and h2 WebSockets will still end up on the http/1.1
upgrade path.

The patch also cleas up the websockets handshake to split it up into
http, https+http1 and https+http2, making it a little less intertwined.

This uncovered a likely bug in the WPT test server:
https://github.com/web-platform-tests/wpt/issues/42896
2023-11-01 21:11:01 +00:00
..
src feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
std@b23a76a47a Revert "chore: update deno_std submodule (#20994)" (#21001) 2023-10-28 01:24:37 +00:00
wpt@a8872d92b1 fix(ext/web): writability of ReadableStream.from (#20836) 2023-10-10 05:01:01 +02:00
Cargo.toml chore: update ext/kv to use denokv_* crates (#20986) 2023-10-31 11:13:57 +00:00