-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(ping): don't close connections upon failures #3947
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
Merged
Merged
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6481aa8
Handle unreachable case explicitly
thomaseizinger a1d9a53
ReadyUpgrade cannot time out
thomaseizinger dcb2256
Directly map error to `Failure::Other`
thomaseizinger 61f4b1c
fixup! ReadyUpgrade cannot time out
thomaseizinger 6840638
Embed timeout in `send_ping`
thomaseizinger da502da
Exhaustively match
thomaseizinger 3e9d527
fixup! Embed timeout in `send_ping`
thomaseizinger 6ea4e75
Remove `Result` type alias
thomaseizinger ceb7121
Remove unnecessary path prefixes
thomaseizinger ceb9899
Move logging to handler
thomaseizinger c854561
Remove `Pong` event
thomaseizinger 3240725
Don't close connection
thomaseizinger 458b35a
Apply suggestions from code review
thomaseizinger f0b230c
Merge branch 'master' into feat/no-close-connection-ping-failures
thomaseizinger 45605b0
Merge branch 'feat/no-close-connection-ping-failures' of github.com:l…
thomaseizinger b6540fe
Merge branch 'master' into feat/no-close-connection-ping-failures
thomaseizinger 60f250e
Merge branch 'master' into feat/no-close-connection-ping-failures
thomaseizinger 2a910fa
Add `Swarm::close_connection` API
thomaseizinger 772c891
Expose connection ID on event
thomaseizinger ea7c01c
Update protocols/ping/CHANGELOG.md
thomaseizinger c1fe6a1
Document health check / connection management with ping
thomaseizinger 6e12acf
Merge branch 'feat/no-close-connection-ping-failures' of github.com:l…
thomaseizinger ad6a882
Fix compile errors
thomaseizinger 9c4a656
Tidy up docs
thomaseizinger 5c79d30
Fix typo
thomaseizinger 198d164
Merge branch 'master' into feat/no-close-connection-ping-failures
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.