fix(deno): echo negotiated WebSocket subprotocol in upgrade response (#4955)
* fix(deno): echo negotiated WebSocket subprotocol in upgrade response The Deno adapter did not set the `Sec-WebSocket-Protocol` header on the upgrade response, so browsers such as Chrome rejected connections that requested a subprotocol. Read the first value from the request's `Sec-WebSocket-Protocol` header and pass it as the `protocol` option to `Deno.upgradeWebSocket`, while still honoring an explicitly provided `protocol` option. Closes #4439 * add a test --------- Co-authored-by: ATOM00blue <219721791+ATOM00blue@users.noreply.github.com> Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
W
wheelman committed
7e0555d14c72d4204347ac9afaae32ba5c013ab9
Parent: f0ed246
Committed by GitHub <noreply@github.com>
on 5/22/2026, 9:09:52 AM