You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebTransport sessions are initiated inside a given HTTP/3 connection by the client, who sends an extended CONNECT request. If the server accepts the request, a WebTransport session is established. The resulting stream will be further referred to as a CONNECT stream, and its stream ID is used to uniquely identify a given WebTransport session within the connection. The ID of the CONNECT stream that established a given WebTransport session will be further referred to as a Session ID.
A WebTransport session is terminated when the CONNECT stream that created it is closed.
The
wtransport
server is not terminating the session upon receiving a closedCONNECT
stream.According to the WebTransport Internet Draft:
Also under 5. Session Termination
Ruling out
quinn
I added tracing logs in quinn to see the various Frames processed and dispatched. Maybe the desired Frame wasn't being sent!
To verify this wasn't a problem on
quinn
's end, I wrote aJS
client in Chrome. That is:To close the session, I called:
When closing, I immediately receive a
Frame::Stream
fromquinn
:This payload indicates that the
CONNECT
stream has been closed. This is because thesession_id
is 0 andfin
is set totrue
.Testing this behavior on Firefox, I received a
CLOSE_WEBTRANSPORT_SESSION
upon closing theJS
client. This is fine since it is specified in the Session Termination section of the internet draft.Our
wtransport
server is similar to the implementation in examples. It seems other people are experiencing #176 (comment) @BiagioFesta hinted this may be a browser bug as well.Specifications
wtransport
version: 0.1.12- Chrome (Version 127.0.6533.89)
- (Firefox 129.0 (64-bit))
Issues mentioned
#176 (comment)
The text was updated successfully, but these errors were encountered: