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

fix(iroh-gossip): do not drop existing peer connection when we get incoming one #2308

Closed
wants to merge 1 commit into from

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented May 19, 2024

This is a result of debugging a problem in Delta Chat when two peers try to establish connection to each other by subscribing to the same topic and supplying each other peer address to .join() roughly at the same time.

Fixes #2307

Copy link

@hpk42 hpk42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, so many hours of debugging (dig, l, me, Sebi yesterday) and then it's effectively a 3 line change that verifiably fixes our long standing "it doesn't reliably work" issue. Great stuff. Network programing is hard :)

@link2xt
Copy link
Contributor Author

link2xt commented May 19, 2024

Closed in favor of #2310

@link2xt link2xt closed this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants