- 16 Aug, 2018 1 commit
-
-
Kishan Sagathiya authored
On trying to open a new stream against an empty peer ID, we get an error saying that failed to dial a peer. This commit changes that to a more informative error message: `empty peer ID`
-
- 09 Aug, 2018 1 commit
-
-
Steven Allen authored
-
- 21 Jul, 2018 1 commit
-
-
Steven Allen authored
-
- 26 Jun, 2018 10 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
remove redundant dial timeout
-
Steven Allen authored
This timeout is already set by the dial limiter.
-
Steven Allen authored
improve timeouts
-
Steven Allen authored
The global per-peer dial timeout had a significant drawback: When dialing many peers, this timeout could cause libp2p to cancel dials while they were still stuck in the limiter. A better but more complicated approach is a time budget system but we can implement that later. This change simply applies the limit to each `DialPeer`/`NewStream` call independently and makes it easy to override. While old timeout tried to account for how much we're willing to spend dialing a single peer, this new timeout tries to account for the amount of time a single "client" is willing to wait for a dial to complete before they no longer care.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
- 17 Jun, 2018 1 commit
-
-
Whyrusleeping authored
feat: lower timeout for local address dials
-
- 11 Jun, 2018 2 commits
-
-
Steven Allen authored
limiter: cleanup the code
-
Łukasz Magiera authored
-
- 09 Jun, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 07 Jun, 2018 1 commit
-
-
Łukasz Magiera authored
-
- 06 Jun, 2018 1 commit
-
-
Steven Allen authored
refactor for new transports
-
- 05 Jun, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
Removes: * go-libp2p-conn logic (moved to transports) * go-libp2p-peerstream (moved here) Changes: * New transport interface. * Explicit over implicit (the implicit automagic now all lives in go-libp2p): * No more default transports, muxers, etc. * No more fallback dialer. Transports are now *required*. * Stream opening: * Connection picking logic (instead of just picking the first). * Tries harder to open a stream of some connections happen to be closed. * Stream closing: * No longer treats half-closed streams as fully closed. Users *must* read the an EOF or reset the stream for it to be garbage collected. * No more polling for dead connections. * Multiplexers are now *non-optional*. Really, they haven't been optional for a while but we still pretended that they were. * No more Network type alias. It added a bunch of code and didn't really provide anything but an alternative set of methods that do the same thing. * Notifications: * New guarantee: connection open notifications will complete before connection close notifications begin. * Given that, notifications are now delivered in parallel. No more notification backlogs blocking connection closing/opening.
-
- 04 Jun, 2018 2 commits
-
-
Hector Sanjuan authored
gx publish 2.1.9
-
Hector Sanjuan authored
-
- 29 May, 2018 2 commits
-
-
Hector Sanjuan authored
gx publish 2.1.8
-
Hector Sanjuan authored
-
- 16 Apr, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 30 Mar, 2018 1 commit
-
-
Steven Allen authored
-
- 09 Mar, 2018 2 commits
-
-
Steven Allen authored
don't leak connections when canceling dials
-
Steven Allen authored
-
- 08 Mar, 2018 1 commit
-
-
Steven Allen authored
cleanup connection setup
-
- 15 Feb, 2018 2 commits
-
-
Steven Allen authored
Enable Jenkins
-
Łukasz Magiera authored
-
- 01 Feb, 2018 1 commit
-
-
Steven Allen authored
-
- 28 Jan, 2018 1 commit
-
-
Steven Allen authored
-
- 20 Jan, 2018 3 commits
-
-
vyzo authored
Fix typo
-
Nicolas Talle authored
-
Steven Allen authored
-
- 09 Jan, 2018 1 commit
-
-
Steven Allen authored
We already setup the connection from within the new connection handler. No need to do it *again* on dial.
-