-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(swarm): keep connections alive while active streams exist #4595
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 all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
e5aaa04
add no_keep_alive fn to Stream and counter to Connection
leonzchang 55525cc
call fn no_keep_alive when ping protocol stream received
leonzchang 340ecc9
apply suggested fixes
leonzchang 55b2c6d
apply suggested fixes
leonzchang e07e274
update root Cargo.toml
leonzchang 0fc1a2a
fix rustdoc intra-doc links
leonzchang f5a7cd4
fix tests
leonzchang b9f0039
compute the shutdown only when negotiated streams are finished
leonzchang 346ba26
remove stream tracking code in protocols
leonzchang 9dc3ff3
apply suggested fixes
leonzchang c1b5d98
correct crate version
leonzchang 3006d84
add allow deprecated to compute_new_shutdown
leonzchang 8b276e5
fix rustfmt
leonzchang 7b29afe
update libp2p-noise version in root Cargo.toml
leonzchang 9cc7d93
Merge branch 'master' into feat/stream-counter
thomaseizinger 2ed8071
Fix compile error
thomaseizinger ad8104d
Always compute shutdown
thomaseizinger 8f34ba8
Merge branch 'master' into feat/stream-counter
leonzchang 5db7968
fix checking keep alive status condition in relay
leonzchang aeb0480
Merge branch 'master' into feat/stream-counter
leonzchang 464b803
Merge branch 'master' into feat/stream-counter
leonzchang 021da14
dispatch no_keep_alive on outbound streams in ping protocols
leonzchang 9c049e6
Merge branch 'master' into feat/stream-counter
leonzchang f6531aa
remove protocols keep alive stream check
leonzchang b8dea1e
Merge branch 'master' into feat/stream-counter
leonzchang ae19cc2
fix idiomatic return
leonzchang 1837ad6
Merge branch 'master' into feat/stream-counter
leonzchang 77b840e
apply partial suggested fixes
leonzchang b9c37fc
add connection_keep_alive default impl
leonzchang 8a22bc8
update changelog & docs
leonzchang 7401ed2
remove the remaining KeepAlive::Until & related test
leonzchang 20a6582
remove unuse import & KeepAlive::Until related tests
leonzchang c8481fe
Merge branch 'feat/stream-counter' into feat/ConnectionHandler-defaul…
leonzchang 436c082
Merge pull request #1 from leonzchang/feat/ConnectionHandler-default-…
leonzchang 3e75728
apply suggested fixes & remove KeepAlive
leonzchang 5efd3d9
Merge branch 'master' into feat/stream-counter
leonzchang 0b53588
fix clippy lint
leonzchang 991ef47
fix clippy lint
leonzchang 18b7314
fix clippy lint
leonzchang 6fc1b0b
Merge branch 'master' into feat/stream-counter
leonzchang 69a4a8b
revert 3e75728 wrong docs
leonzchang 3d10eb4
apply suggested fixes
leonzchang c79537b
Merge branch 'master' into feat/stream-counter
leonzchang 47a2b4e
fixed test
leonzchang 4ad1117
Update docs
thomaseizinger c963452
Remove obsolete docs
thomaseizinger a58584d
Update changelog
thomaseizinger 0d02ccc
Fix doc link
thomaseizinger 0c9e3ee
replace Arc<()> to ActiveStreamCounter in swarm
leonzchang 92823e1
apply suggested fixes
leonzchang 16548b1
Merge branch 'master' into feat/stream-counter
leonzchang 1aaa6a0
merge completed
leonzchang 17d4513
Merge branch 'master' into feat/stream-counter
leonzchang 51c2df6
Merge branch 'master' into feat/stream-counter
leonzchang 41662a4
wrap Arc to a new type & refactor stream ignore_for_keep_alive
leonzchang 46d8216
fix clippy error
leonzchang 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
thomaseizinger marked this conversation as resolved.
Show resolved
Hide resolved
|
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.