Commit Graph

879 Commits

Author SHA1 Message Date
Steven Allen 542d43a30f
Merge pull request #420 from libp2p/fix/419
always remove connection from identify service map
2018-09-10 23:01:56 +00:00
Steven Allen e436bcc391 always remove connection from identify service map
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...)
2018-09-10 15:51:09 -07:00
Steven Allen fe20b1dd30 gx publish 6.0.12 2018-09-07 22:18:29 -07:00
Steven Allen c46e8d6e36 gx: update go-libp2p-peerstore 2018-09-07 22:11:23 -07:00
Steven Allen 521cd9ea26
Merge pull request #408 from libp2p/dont-disable-logging
use the new DisableLogging mdns option, don't turn off logging globally
2018-09-02 21:33:39 +00:00
Steven Allen bb971794b7 disable mdns logging from init
(avoids the race condition)
2018-09-02 14:31:46 -07:00
Steven Allen 7dffae8a14 gx publish 6.0.11 2018-08-31 09:54:24 -07:00
Marten Seemann 0d38750db8 use the new DisableLogging mdns option, don't turn off logging globally 2018-08-31 12:08:18 +07:00
Steven Allen 1f1aca1c28 gx publish 6.0.10 2018-08-27 17:42:02 -07:00
Steven Allen eeddac930f
Merge pull request #369 from libp2p/feat/stat
Add Stat to mock net conns and streams
2018-08-28 00:41:41 +00:00
Cole Brown 5a704d2daa Add Stat to mock net conns and streams 2018-08-27 17:30:51 -07:00
Steven Allen 10a44085f5 gx: update go-libp2p-net 2018-08-27 17:30:51 -07:00
Steven Allen cacf6f42b5
Merge pull request #398 from libp2p/feat/no-default-listen
add options for disabling the default listen address/transports
2018-08-27 23:17:32 +00:00
Steven Allen 461af4c787
Merge pull request #405 from libp2p/fix/package-table
remove some packages from the package table
2018-08-27 17:39:02 +00:00
Raúl Kripalani cf61930207 package-table: correct small typo.
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2018-08-27 11:08:40 +01:00
Steven Allen 788a09fbba remove some packages from the package table
* go-libp2p-coral-dht is currently being written and shouldn't go in this list
  until it's reasonable usable (unless I'm missing the point of this list).
* go-libp2p-ping is an unmaintained extraction of go-libp2p/p2p/ping
* go-libp2p-pubsub is slated to be removed.
* go-libpp2-dummy-conn was implemented to test go-libp2p-pnet. (1)
  go-libp2p-pnet can now be tested with normal `io.ReadWriteCloser`s so it
  doesn't need this package and (2) I didn't bother updating this package when I
  did the libp2p transport refactor.
2018-08-24 13:03:42 -07:00
Steven Allen 8be4535a5d
Merge pull request #404 from raulk/package-list
README: fix go-libp2p-blankhost row
2018-08-24 19:37:45 +00:00
Raúl Kripalani a6d2132260 README: fix go-libp2p-blankhost row.
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2018-08-24 19:49:07 +01:00
Raúl Kripalani b9e2403602
Merge pull request #403 from hacdias/master
feat: use package-table
2018-08-24 19:21:38 +01:00
Raúl Kripalani 2d5c64cdd3
Fix blankhost entry. 2018-08-23 18:37:54 +01:00
Henrique Dias 69accddc06
Merge pull request #1 from raulk/package-list
enhance package list with new items.
2018-08-23 15:34:58 +01:00
Raúl Kripalani 30901d57f9 enhance package list with new items.
License: MIT
Signed-off-by: Raúl Kripalani <raul.kripalani@gmail.com>
2018-08-23 13:49:16 +01:00
Henrique Dias cc7c13b9b5 update table
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-22 19:10:32 +01:00
David Dias e1ef4d206d
Update package-list.json 2018-08-22 18:37:13 +02:00
David Dias e7739aadfc
docs: update packages table 2018-08-22 18:36:46 +02:00
David Dias c13bbde3cf
fix: update package-list 2018-08-22 18:35:05 +02:00
Henrique Dias 84c701dbfe remove badges for interface-
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-22 14:13:05 +01:00
Henrique Dias a7b1927769 travis and jenkins
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-22 14:09:37 +01:00
Henrique Dias 1de376200e add link to package-table
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-22 13:26:20 +01:00
Henrique Dias 6c9315e809 fix: use name instead of pakage
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-22 12:47:57 +01:00
Henrique Dias 8dc8dd09db feat: use package-table 2018-08-22 12:17:25 +01:00
Steven Allen ab978fcf9d gx publish 6.0.9 2018-08-21 17:09:12 -07:00
Steven Allen a36d383413 add tests for NoTransports and NoListen 2018-08-21 14:40:18 -07:00
Steven Allen ad5b7b9ba6 add options for disabling the default listen address/transports
So, in go-ipfs at least, we *don't* pass the listen addresses into the libp2p
constructor. Instead, we specify them later.

This option allows us to tell libp2p to not listen by default.
2018-08-21 14:40:18 -07:00
Steven Allen c67b87ce7b
Merge pull request #400 from rargulati/add-secure-tpt-to-set
Ensure duplicate transports are filtered
2018-08-21 16:49:28 +00:00
Raghav Gulati 6e72e88461
Add test for duplicate tpts in muxer 2018-08-21 09:25:52 -07:00
Steven Allen 7d6f9521c2
Merge pull request #380 from libp2p/fix/reset-ping-stream
always reset ping streams when done
2018-08-21 05:22:22 +00:00
Raghav Gulati 3c19cb12b9
Ensure we filter duplicate transports in muxer
Similar to secure transports in config, if we don't add the transport to
the set, we'll never identify duplicates.
2018-08-20 18:18:37 -07:00
Raghav Gulati 8695530d72
Change value to struct 2018-08-20 18:17:30 -07:00
Raghav Gulati 87255e4ff0
Ensure duplicate transports are filtered
Without adding the transport to the set, we'll never identify if there
are duplicates in the slice of secure transports provided by the config.
2018-08-20 17:09:53 -07:00
Steven Allen 6f0dcfa108
Merge pull request #389 from libp2p/fix/mock-streams
mock stream fixes
2018-08-16 17:44:22 +00:00
Steven Allen f0eba35c6e
Merge pull request #388 from libp2p/fix/id-reset
reset when we fail in identify
2018-08-16 17:43:59 +00:00
Steven Allen 6c88b44aba
Merge pull request #394 from libp2p/fix/revert-correct-external-addr
Revert "Merge pull request #386 from libp2p/fix/correct-external-addr"
2018-08-16 17:43:40 +00:00
Steven Allen 0c971f9a13
Merge pull request #397 from cannium/typo
Fix a typo in doc
2018-08-15 17:31:00 +00:00
Can ZHANG ed85445dc3 Fix a typo in doc 2018-08-15 18:36:57 +08:00
Steven Allen c83318bf08 Revert "Merge pull request #386 from libp2p/fix/correct-external-addr"
This reverts commit aca83b9b63, reversing
changes made to 86b8929d4d.

This was is not the correct fix. We already expose these addresses via the
host's AllAddrs method. The real problem is probably that we just don't ever
tell anyone about them (unless we disconnect and reconnect to our nearby DHT
nodes).

We need an address gossip protocol.
2018-08-13 16:52:49 -07:00
David Dias 163d7d40dd
docs: add url to weekly dev syncs 2018-08-11 13:26:00 +02:00
Steven Allen cc70c4be36 gx publish 6.0.8 2018-08-08 18:50:40 -07:00
Steven Allen 8cdaeaa162 gx publish 6.0.7 2018-08-08 18:09:22 -07:00
Steven Allen 0b51ec2468
Merge pull request #390 from libp2p/feat/protobuf
update gogo protobuf
2018-08-09 01:09:13 +00:00