1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
cache chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
console chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
cron feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
crypto chore: upgrade rsa to 0.9 (#21016) 2023-10-30 16:25:12 +01:00
fetch feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
ffi fix(ext/ffi): use anybuffer for op_ffi_buf_copy_into (#21006) 2023-10-28 10:02:57 +03:00
fs feat: disposable Deno resources (#20845) 2023-11-01 20:26:12 +01:00
http feat: disposable Deno resources (#20845) 2023-11-01 20:26:12 +01:00
io chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
kv feat: disposable Deno resources (#20845) 2023-11-01 20:26:12 +01:00
napi chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
net feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
node fix(ext/node): adapt dynamic type checking to Node.js behavior (#21014) 2023-11-01 16:06:25 +09:00
tls feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
url chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
web feat: disposable Deno resources (#20845) 2023-11-01 20:26:12 +01:00
webidl chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
websocket feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
webstorage chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00