Skip to content
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

Ignore reconnections requests to the same peer with the same address #835

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Jan 24, 2019

If we are reconnecting to a peer, and receive a Peer.Connect to the same peer using the same address, we shouldn't initiate a second connection.

@pm47 pm47 requested a review from dpad85 January 24, 2019 15:36
@pm47 pm47 merged commit 7ff694c into master Jan 29, 2019
@pm47 pm47 deleted the dont-reconnect branch January 29, 2019 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants