0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/tools/wpt
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
..
certs chore(core): Update certs for WPT (#19351) 2023-06-01 21:32:07 -06:00
config.json fix(websocket): spec conformance & WPT (#11010) 2021-06-21 12:15:08 +02:00
expectation.json feat(ext/websocket): websockets over http2 (#21040) 2023-11-01 21:11:01 +00:00
runner.ts feat(ext/web): EventSource (#14730) 2023-10-31 18:16:27 +01:00
testharnessreport.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
utils.ts feat: Adaptations to support OpenBSD port (#19153) 2023-06-12 13:14:27 +03:00