-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(swarm)!: Allow NetworkBehaviour
s to manage incoming connections
#3099
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
Closed
Closed
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d501019
Introduce `NetworkBehaviour::DialPayload`
thomaseizinger 77c85f6
WIP Migrate production code
thomaseizinger 118ffb6
Deprecate `new_handler`
thomaseizinger 377c351
WIP: Completely remove `IntoConnectionHandler`
thomaseizinger 9972eb4
Set supported protocols upon connection establishment
thomaseizinger fb9cdbc
Remove TODOs
thomaseizinger a96780d
Fix bad boolean logic
thomaseizinger 3c9d98e
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger 900edef
Fix gossipsub tests
thomaseizinger d1eea3a
Fix clippy warning
thomaseizinger 98bf927
Update docs
thomaseizinger 1cef941
Reduce diff
thomaseizinger ca3ef3e
Fix clippy errors
thomaseizinger a7f0685
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger d95b038
Update swarm/src/behaviour.rs
thomaseizinger edbbe41
Add changelog entry
thomaseizinger fef8d85
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger a942248
Remove unnecessary bounds
thomaseizinger 0578134
Remove old example
thomaseizinger f7def2b
fmt
thomaseizinger a5a728b
Make `new_handler` fallible
thomaseizinger 27e1b2d
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger 19348e9
Allow each `NetworkBehaviour` to have their own `ConnectionDenied` re…
thomaseizinger 9c55601
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger 527eeda
Merge branch 'master' into 2824-remove-into-connection-handler
thomaseizinger a269e9d
Revert "Allow each `NetworkBehaviour` to have their own `ConnectionDe…
thomaseizinger dcb4f96
Always box cause for denied connection
thomaseizinger 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
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.