-
Notifications
You must be signed in to change notification settings - Fork 784
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
level down libp2p quic accept and close errors #6148
Conversation
} | ||
None |
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.
previously we were checking the number of listeners, but it's redundant here as they will only decrease if gracefully closed, ListenerError
s are non fatal and therefore shouldn't close the listener
8824d44
to
09a2acc
Compare
09a2acc
to
5ec2ffb
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.
Looks good to me!
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at d72dca5 |
Issue Addressed
After quinn-rs/quinn#1804
quinn
now returns this accept error which is also bubbled bylibp2p
as aListenerError
, this PR silenceslibp2p-quic
accept errors in general as they are mostly connection refusals.libp2p::quic::Error::Connection
also covers connection close errors which are also redundant on our case.