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

routed host: search for new multi addresses upon connect failure #1835

Merged
merged 4 commits into from
Oct 31, 2022

Conversation

dennis-tra
Copy link
Contributor

@dennis-tra dennis-tra commented Oct 21, 2022

For context: ipfs/kubo#9264


If we cannot connect to a remote host, check if we can find more up-to-date Multiaddresses in the DHT. If we have found at least one additional Multiaddress, attempt to connect again.

@marten-seemann marten-seemann changed the title feat: search for new multi addresses upon connect failure routed host: search for new multi addresses upon connect failure Oct 21, 2022
p2p/host/routed/routed.go Outdated Show resolved Hide resolved
p2p/host/routed/routed.go Outdated Show resolved Hide resolved
p2p/host/routed/routed_test.go Outdated Show resolved Hide resolved
p2p/host/routed/routed_test.go Outdated Show resolved Hide resolved
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