- 24 Oct, 2018 1 commit
-
-
Steven Allen authored
Sending a protocol version is nice. However, this "disconnect if our versions are different" logic makes the version entirely useless (because we can't change it). Really, each indevidual protocol is versioned so let's just leave it at that. If we make a breaking change that requires a protocol bump, we can do that and then switch on the other side's version. However, we'll have to wait for the entire network to upgrade for that to work.
-
- 19 Oct, 2018 2 commits
- 29 Sep, 2018 1 commit
-
-
Can ZHANG authored
-
- 26 Sep, 2018 3 commits
- 21 Sep, 2018 1 commit
-
-
QYuan authored
-
- 10 Sep, 2018 1 commit
-
-
Steven Allen authored
fixes #419 Also call FullClose in a goroutine; no need to block this. (not happy with that but I'm starting to think we need to rethink stream closing, again...)
-
- 09 Aug, 2018 1 commit
-
-
Steven Allen authored
and regenerate protobuf files
-
- 08 Aug, 2018 1 commit
-
-
Steven Allen authored
-
- 27 Jul, 2018 1 commit
-
-
Steven Allen authored
Currently, we leak a stream. We could use FullClose but, IMO, it's not worth it. We might as well just reset and walk away.
-
- 15 Jun, 2018 1 commit
-
-
Steven Allen authored
This happens all the time in tests where we intentionally use fake keys for performance. Anyways, users probably don't want their logs spammed with errors they can't do anything about.
-
- 05 Jun, 2018 1 commit
-
-
Steven Allen authored
Also, make the libp2p constructor fully useful. There should now be no need to manually construct a swarm/host.
-
- 28 Jan, 2018 1 commit
-
-
Steven Allen authored
-
- 20 Jan, 2018 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
This way, we actually process disconnect notifications (and reduce the lifetime on peer addr records).
-
Steven Allen authored
This commit prevents us from repeatedly extending the lifetimes of all observed addresses if a peer keeps on reconnecting. It also fixes two race conditions: 1. We may end up processing a disconnect after a re-connect and may accidentally give the addresses associated with that peer a RecentlyConnectedAddrTTL instead of a ConnectedAddrTTL. 2. We may end up processing a connect after the associated disconnect storing the associated peer addresses indefinitely.
-
- 13 Sep, 2017 1 commit
-
-
Steven Allen authored
-
- 31 May, 2017 1 commit
-
-
Lars Gierth authored
There were previously 4 different ways of passing various options into BasicHost construction. 1. Function parameters to New 2. Option parameters to New 3. Global variables, e.g. NegotiateTimeout 4. Options struct, in the calling code in go-ipfs This changeset deprecated all of these, and introduces the HostOpts struct to replace them. It also introduces a new constructor called NewHost, which accepts a *HostOpts. The old New constructor continues to work the same way, but is from now on deprecated too.
-
- 24 Apr, 2017 3 commits
-
-
Jakub Sztandera authored
-
Jakub Sztandera authored
-
Jakub Sztandera authored
-
- 12 Mar, 2017 1 commit
-
-
Lars Gierth authored
-
- 10 Jan, 2017 1 commit
-
-
Jeromy authored
-
- 05 Jan, 2017 1 commit
-
-
Jeromy authored
-
- 26 Dec, 2016 1 commit
-
-
Jeromy authored
-
- 18 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 17 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 10 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 05 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 25 Oct, 2016 1 commit
-
-
Jeromy authored
-
- 05 Oct, 2016 2 commits
- 04 Oct, 2016 3 commits
- 03 Oct, 2016 1 commit
-
-
Jeromy authored
-
- 11 Sep, 2016 2 commits