- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Mon, 29 Apr 2024 07:02:35 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1745/review/2028614903@github.com>
@jan-ivar commented on this pull request. > - <li><p>When establishing an HTTP/3 connection, include SETTINGS_ENABLE_WEBTRANSPORT with a value - of 1 and H3_DATAGRAM with a value of 1 in the initial SETTINGS frame. [[!WEBTRANSPORT-HTTP3]] - [[!HTTP3-DATAGRAM]] @annevk It's likely false almost always. The WebTransport constructor's [requireUnreliable](https://w3c.github.io/webtransport/#dom-webtransportoptions-requireunreliable) option merely exists to disable HTTP/2 fallback, but likely nobody sets it since browsers still need to implement HTTP/2 fallback. There's also [pooling](https://w3c.github.io/webtransport/#dom-webtransportoptions-allowpooling) to consider aka `!dedicated` (also not implemented yet AFAIK) where the WebTransport constructor is returned an existing connection from this algorithm's connection pool. Together this means both SETTINGS_ENABLE_WEBTRANSPORT and H3_DATAGRAM need to be enabled on _all_ HTTP/3 connections by default, even when not called from WebTransport. At least that's how I read it. If this is surprising to others (or if I read this wrong), we might want to make this clearer, as I could see someone reading it the other way right now. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1745#discussion_r1583147171 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1745/review/2028614903@github.com>
Received on Monday, 29 April 2024 14:02:39 UTC