quic-go / webtransport-go

WebTransport implementation based on quic-go (https://datatracker.ietf.org/doc/draft-ietf-webtrans-http3/)
https://quic-go.net
MIT License
327 stars 50 forks source link

allow optimistic opening of streams #136

Open marten-seemann opened 5 months ago

marten-seemann commented 5 months ago

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 need to be careful to return a meaningful error if the server rejects the connection request.

marten-seemann commented 5 months ago

With #138, this should now be easily possible. We need to decide on a reasonable API though.