- 15 Apr, 2021 3 commits
-
-
Cory Schwartz authored
-
Cory Schwartz authored
-
Cory Schwartz authored
-
- 01 Apr, 2021 10 commits
-
-
vyzo authored
New Dialer
-
vyzo authored
Fix simultaneous dials
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
they work with private data types, so there is no point in having them public
-
vyzo authored
so that we exercise the dialWorker dial to self error path
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
- 31 Mar, 2021 16 commits
-
-
vyzo authored
-
vyzo authored
-
vyzo authored
we might get more connections because simultaneous dials can succeed and we have both TCP and QUIC addrs by default
-
vyzo authored
for consistency with the old dialer behaviour.
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
vyzo authored
i want to use binary literals; technically only requires 1.13, but let's not be ancient
-
vyzo authored
-
vyzo authored
-
vyzo authored
-
- 30 Mar, 2021 5 commits
- 29 Mar, 2021 4 commits
-
-
Steven Allen authored
fix: use 64bit stream/conn IDs
-
Steven Allen authored
feat: close transports that implement io.Closer
-
Steven Allen authored
Given 1k requests per second (assuming one stream per request), we can easily loop around the stream ID after less than 2 months. 32bits is plenty (usually) for connection-scoped stream IDs because individual connections don't usually last that long, but isn't enough for a _global_ stream ID. Given that there's no reason for these to be 32bit IDs, let's just make them 64bits.
-
Steven Allen authored
This way, transports with shared resources (e.g., reused sockets) can clean them up. fixes https://github.com/libp2p/go-libp2p/issues/999
-
- 19 Mar, 2021 2 commits
-
-
Steven Allen authored
Otherwise, canceling one dial request will cancel all "joined" dial requests.
-
Steven Allen authored
-