- 20 Feb, 2019 16 commits
-
-
hannahhoward authored
fix remaining issues for race detector in peer manager
-
hannahhoward authored
Keep all of disconnection in a mutex
-
hannahhoward authored
repace get/set with getOrCreate to keep operations atomic
-
hannahhoward authored
Constrain use of mutex to actual operations on the peerQueues map via utility functions
-
hannahhoward authored
Breakup Startup function so that wantlists are not sent with each call to SendMessage
-
hannahhoward authored
If wantlist changes are present, send them immediately on startup, rather than as a seperate message
-
hannahhoward authored
Limit retrying sending of a message even when a successful reconnect occurs
-
hannahhoward authored
fix race conditions while setting up wantlists by creating peer queues on demand BREAKING CHANGE: PeerManager SendMessage signature changed fix #51
-
Steven Allen authored
fix multiple data races
-
Steven Allen authored
Ensures that we don't leave goroutines behind, even if the client forgets to unsubscribe.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Calling `wg.Add` after `wg.Wait` has returned is invalid. This change swaps the wait group for a plain rwmutex. (caught with the race detector)
-
Steven Allen authored
ci: add travis
-
Steven Allen authored
Jenkins is EOL at this point.
-
- 18 Feb, 2019 2 commits
-
-
Jakub Sztandera authored
-
Jakub Sztandera authored
-
- 07 Feb, 2019 1 commit
-
-
Steven Allen authored
-
- 06 Feb, 2019 1 commit
-
-
Hannah Howard authored
providers: don't add every connected node as a provider
-
- 05 Feb, 2019 5 commits
-
-
Steven Allen authored
We now do exactly what the comment is warning about: track peers providing keys.
-
Hannah Howard authored
refactor(GetBlocks): Merge session/non-session
-
hannahhoward authored
Make Bitswap GetBlocks just create a temporary session and use that code fix #52 fix #49
-
Hannah Howard authored
Feat: A more robust provider finder for sessions (for now) and soon for all bitswap
-
hannahhoward authored
Keep channels unblocked in cancelling request -- refactored to function. Also cancel find provider context as soon as it can be.
-
- 04 Feb, 2019 3 commits
-
-
hannahhoward authored
Make sure if all requestors cancel their request to find providers on a peer, the overall query gets cancelled
-
hannahhoward authored
-
hannahhoward authored
removed session id user completely from providerquerymanager
-
- 30 Jan, 2019 6 commits
-
-
hannahhoward authored
Removed a minor condition check that could fail in some cases just due to timing, but not a code issue
-
hannahhoward authored
Add debug logging for the provider query manager and make tests more reliable
-
hannahhoward authored
Integrate the ProviderQueryManager into the SessionPeerManager and bitswap in general re #52, re #49
-
hannahhoward authored
Add functionality to timeout find provider requests so they don't run forever
-
hannahhoward authored
Add a manger for querying providers on blocks, in charge of managing requests, deduping, and rate limiting
-
Hannah Howard authored
fix(tests): stabilize session tests
-
- 26 Jan, 2019 1 commit
-
-
hannahhoward authored
Improve stability of tests for Session and SessionPeerManager fix #61
-
- 23 Jan, 2019 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
contexts: make sure to abort when a context is canceled
-
- 22 Jan, 2019 1 commit
-
-
Steven Allen authored
Also, buffer single-use channels we may walk away from. This was showing up (rarely) in a go-ipfs test.
-
- 11 Jan, 2019 2 commits
-
-
Hannah Howard authored
fix(sessions): explicitly connect found peers
-
hannahhoward authored
Remove sync.waitGroup in SessionPeerManager till it's needed
-