- 31 Mar, 2021 9 commits
- 30 Mar, 2021 5 commits
- 19 Mar, 2021 3 commits
-
-
Steven Allen authored
Otherwise, canceling one dial request will cancel all "joined" dial requests.
-
Steven Allen authored
-
Steven Allen authored
Given two relay connections, prefer the one that's non-transient. Otherwise, a transient connection could prevent us from opening streams even if we have a second non-transient connection through a better relay.
-
- 19 Feb, 2021 1 commit
-
-
Aarsh Shah authored
-
- 18 Feb, 2021 1 commit
-
-
Aarsh Shah authored
* support for forced direct connections.
-
- 17 Feb, 2021 8 commits
- 12 Feb, 2021 2 commits
-
-
Steven Allen authored
avoid assigning a function to a variable
-
Marten Seemann authored
-
- 09 Feb, 2021 4 commits
-
-
Steven Allen authored
only listen on localhost in tests
-
Steven Allen authored
prevent dialing addresses that we're listening on
-
Marten Seemann authored
-
Marten Seemann authored
It's impossible to run two nodes on the same IP:port, so we know for sure that any dial to an address that we're listening on will fail (as the peer IDs won't match). In practice, this will be most useful for preventing dials to localhost for nodes that are listening on the default port.
-
- 28 Jan, 2021 1 commit
-
-
Aarsh Shah authored
* add quic to swarm testing * update go
-
- 19 Dec, 2020 2 commits
-
-
Marten Seemann authored
use a context for OpenStream and NewStream
-
Marten Seemann authored
-
- 02 Sep, 2020 4 commits
-
-
Steven Allen authored
fix: handle case where swarm closes before stream
-
Steven Allen authored
When we close a connection, we set the "stream" set to nil to avoid opening new stream. Unfortunately, this meant we wouldn't decrement the reference count on the swarm.
-
Steven Allen authored
feat: update to latest go-libp2p-core interfaces
-
Steven Allen authored
This commit switches over to the new Close/CloseWrite/CloseRead interface changes in go-libp2p-core 0.7.0. This change also removes a now obsolete hack to implicitly clean up streams after reading an EOF; calling Close or Reset is now required. See: https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0
-