-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bootstrap): fix stalled connections w/multiple bootstrap contacts
When multiple bootstrap contacts are used the first successful connection is considered and the rest is disregarded. This results in unfinished connection attempts that are left lingering in the connection de-duplicator and connection pool. This fix introduces Endpoint::new_connection that creates a fresh connection disregarding the de-duplication of connections that is used by the bootstrap function which then only saves the successful connection in the pool
- Loading branch information
1 parent
ddb9cd0
commit cd02b6a
Showing
3 changed files
with
63 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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 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 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