-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quic / webtransport: make it possible to listen on the same address / port #1905
Conversation
75224e3
to
a2fa1e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brief skim, still need to review deeply.
if cfg.QUICReuse != nil { | ||
fxopts = append(fxopts, cfg.QUICReuse...) | ||
} else { | ||
fxopts = append(fxopts, fx.Provide(quicreuse.NewConnManager)) // TODO: close the ConnManager when shutting down the node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this todo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes and questions about what happens in errors during Run
goroutine.
DecreaseCount now closes the underlying UDP conn, so that callers don't need to pay attention if they're dealing with a reuseConn or a noreuseConn.
a2fa1e5
to
ddd4855
Compare
Fixes #1759. Depends on #1895. Depends on quic-go/webtransport-go#47.
Also adds an integration test for QUIC version support.