- 02 Sep, 2020 2 commits
-
-
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
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
-
- 05 Jun, 2020 1 commit
-
-
Raúl Kripalani authored
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com> Co-authored-by: Raúl Kripalani <raul@protocol.ai>
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 28 Aug, 2018 1 commit
-
-
Cole Brown authored
-
- 05 Jun, 2018 1 commit
-
-
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.
-
- 13 Sep, 2017 1 commit
-
-
Steven Allen authored
* Add in the reset method and use it instead of Close. Close now only closes one side of the connection.
-
- 03 Feb, 2017 2 commits
- 08 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 03 Nov, 2016 2 commits
- 04 Oct, 2016 2 commits
- 18 Aug, 2016 1 commit
-
-
Jeromy authored
-
- 11 Aug, 2016 1 commit
-
-
Jeromy authored
-
- 10 Aug, 2016 2 commits
- 27 Apr, 2016 1 commit
-
-
Jeromy authored
-
- 08 Mar, 2016 1 commit
-
-
Jeromy authored
-
- 04 Jan, 2016 1 commit
-
-
Jeromy authored
-
- 07 Dec, 2015 1 commit
-
-
Jeromy authored
-
- 19 Nov, 2015 1 commit
-
-
Jeromy authored
-
- 17 Nov, 2015 1 commit
-
-
Jeromy authored
-
- 12 Nov, 2015 1 commit
-
-
Jeromy authored
-
- 30 Sep, 2015 2 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-