Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

fix: wait until we finish connecting before we cancel the context #226

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

Stebalien
Copy link
Member

This is an interesting bug because changes to the DHT have suddenly started triggering it. I'm not sure why we weren't hitting it before now.

We may have been ignoring a context somewhere?

This is an interesting bug because changes to the DHT have suddenly started
triggering it. I'm not sure _why_ we weren't hitting it before now.

We may have been ignoring a context somewhere?
@dirkmc dirkmc merged commit 95b0d81 into master Dec 5, 2019
@Stebalien Stebalien requested a review from dirkmc December 5, 2019 18:20
@dirkmc dirkmc deleted the fix/provider-connect branch December 5, 2019 18:20
@Stebalien
Copy link
Member Author

@dirkmc Can you think of a good way to test for this internally? We have a test in go-ipfs, but it would be good do have one here as well.

@dirkmc
Copy link
Contributor

dirkmc commented Dec 5, 2019

Can you point me to the test in go-ipfs?

This was referenced Jan 17, 2020
Jorropo pushed a commit to Jorropo/go-libipfs that referenced this pull request Jan 26, 2023
fix: wait until we finish connecting before we cancel the context

This commit was moved from ipfs/go-bitswap@95b0d81
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants