webtransport-go
webtransport-go copied to clipboard
WebTransport implementation based on quic-go (https://datatracker.ietf.org/doc/draft-ietf-webtrans-http3/)
There are "datagrams" in webtransport: https://github.com/w3c/webtransport/blob/main/explainer.md#example-of-sending-unreliable-game-state-to-server-using-datagrams But I can't find implementation of this in webtransport-go. Is it a feature that haven't implemented, or I have missed something? Thanks!
``` === RUN TestBidirectionalStreamsDataTransfer/server-initiated webtransport_test.go:88: Error Trace: /Users/runner/work/webtransport-go/webtransport-go/webtransport_test.go:88 /Users/runner/work/webtransport-go/webtransport-go/webtransport_test.go:158 Error: Received unexpected error: timeout: no recent network activity Test: TestBidirectionalStreamsDataTransfer/server-initiated --- FAIL: TestBidirectionalStreamsDataTransfer (5.06s) --- PASS: TestBidirectionalStreamsDataTransfer/client-initiated (0.01s) --- FAIL:...
Depends on https://github.com/lucas-clemente/quic-go/pull/3607.
This will allow us to transmit the error code.
The current quic-go API forces us to wait until the Extended CONNECT request has returned before it allows us to open new streams. The WebTransport allows optimistically opening streams. We...
See https://ietf-wg-webtrans.github.io/draft-ietf-webtrans-http3/draft-ietf-webtrans-http3.html#section-3.4.
Just build and run the `interop/main.go`, then open browser and refresh, the [m.conns](https://github.com/quic-go/webtransport-go/blob/v0.6.0/session_manager.go#L176) will always increase and will not be deleted after the WebTransport disconnected.