Commit Graph

120 Commits

Author SHA1 Message Date
Steven Allen 923bb920bf gx publish 0.9.7 2017-12-05 01:11:18 +00:00
Steven Allen 5eedebda93 gx publish 0.9.6 2017-11-20 14:23:56 -08:00
Steven Allen 10a9fb0903 gx publish 0.9.5 2017-11-14 12:49:43 -08:00
Steven Allen e3844b7d14 Merge pull request #44 from libp2p/gx/update-lxc2hc
gx: update go-peerstream
2017-10-19 08:12:54 -07:00
Steven Allen c000ea01e2 gx publish 0.9.4 2017-10-19 07:41:34 -07:00
Steven Allen fb6cc3172e Merge pull request #41 from film42/gt/package-name
Rename gx package to go-libp2p-floodsub
2017-10-16 08:53:31 -07:00
Garrett Thornburg 9db226f672 Rename gx package to go-libp2p-floodsub
Resolves https://github.com/libp2p/go-floodsub/issues/7
2017-10-16 09:22:10 -04:00
Steven Allen 6d14add4a3 Merge pull request #39 from libp2p/fix/38
mark the peer as dead if the inbound stream closes
2017-10-14 16:26:20 -07:00
Steven Allen 56ea7752e8 better worker cleanup
1. Don't hang marking a peer as dead if we're shutting down.
2. No need to "drain" the outgoing channel anymore. This may have been necessary
to prevent a deadlock where the main loop blocked on sending on sending a
message while we waited to tell the main loop that the peer was dead. However,
this is no longer an issue (we never block on sending).
2017-10-14 11:19:21 -07:00
Steven Allen a01778ac78 test peer disconnect 2017-10-14 09:32:31 -07:00
Steven Allen 3e0c53e2a7 mark the peer as dead if the inbound stream closes
fixes #38
2017-10-14 09:24:44 -07:00
Jeromy 82b5814c05 gx publish 0.9.3 2017-10-06 07:29:47 -07:00
Steven Allen 9366bd3c31 gx publish 0.9.2 2017-09-15 18:50:52 -07:00
Steven Allen 0e28f929b8 gx publish 0.9.1 2017-09-15 16:57:36 -07:00
Jeromy Johnson 2b1a843e79 Merge pull request #37 from libp2p/fix/use-reset
use reset where appropriate
2017-09-15 16:42:11 -07:00
Steven Allen 238bd82a7f use reset where appropriate
(especially when walking away from read-only streams)
2017-09-15 16:28:46 -07:00
Steven Allen 33a57ac760 gx publish 0.9.0 2017-09-12 23:42:37 -07:00
Steven Allen 2709da6f16 Merge pull request #36 from libp2p/gx/update-37wfbd
gx: update go-ws-transport
2017-09-05 16:28:38 -07:00
Steven Allen d5253e888e gx publish 0.8.25 2017-09-05 16:09:01 -07:00
Steven Allen 1b420681eb gx publish 0.8.24 2017-09-05 16:08:56 -07:00
Jeromy c44413e7d0 gx publish 0.8.23 2017-09-04 23:29:26 -07:00
Steven Allen d1d3a55404 Merge pull request #34 from libp2p/fix/go-ipfs/4066
drop messages to slow peers
2017-09-04 16:24:19 -07:00
Steven Allen d884976a41 Merge pull request #35 from film42/gt/slow_announce
Drop announce messages to slow peers
2017-09-04 16:23:44 -07:00
Garrett Thornburg 2ac19f2157 Drop announce messages to peers when their buffer is full 2017-09-01 23:10:06 -04:00
Garrett Thornburg 63c977c815 Return false when we haven't subscribed to anything 2017-09-01 21:16:41 -04:00
Steven Allen e7faa78d7c log when dropping messages 2017-08-29 19:42:33 -07:00
Steven Allen 02b9c5724d drop messages to slow peers
Instead of spawning a go routine for every message sent to every peer, buffer
them (actually, we already buffer 32 so this didn't need to be changed) and drop
messages when the buffer fills up.

fixes https://github.com/ipfs/go-ipfs/issues/4066

(writing to a channel in a go routine can be dangerous...)
2017-08-29 19:11:58 -07:00
Steven Allen b93dd9968a Merge pull request #33 from libp2p/gx/update-4ruucc
gx: update go-cid, go-multibase, base32
2017-08-28 21:51:27 -07:00
Steven Allen 1572de4e10 gx publish 0.8.22 2017-08-28 20:30:27 -07:00
Steven Allen 70c64e9b50 Merge pull request #31 from libp2p/gx/update-0zelrc
gx: update go-reuseport
2017-08-23 16:03:20 -07:00
Łukasz Magiera bd21abad39 gx publish 0.8.21 2017-08-23 16:15:17 +02:00
Steven Allen 9a5851c0f6 gx publish 0.8.20 2017-08-16 16:49:41 -07:00
Steven Allen 86110cb33f Merge pull request #30 from libp2p/gx/update-oq3pfr
gx: update go-testutil
2017-07-31 22:55:28 -07:00
Steven Allen 1986e0ba29 gx publish 0.8.19 2017-07-31 19:57:27 -07:00
Steven Allen d7512c9124 gx publish 0.8.18 2017-07-31 13:47:28 -07:00
Steven Allen 570f474bc4 Merge pull request #29 from libp2p/fix/handle-conns-async
notify: handle new connections asynchronously
2017-07-27 20:27:04 -07:00
Steven Allen ccedba1374 ci: update travis to go 1.8 2017-07-27 18:57:32 -07:00
Steven Allen c9d7fd9e14 gx publish 0.8.17 2017-07-27 18:46:01 -07:00
Steven Allen 5ee3bddaad notify: handle new connections asynchronously
Trying to create a stream from with a connection notifier is *not* allowed (and
will deadlock).

Also, use the pubsub context when trying to open the stream.
2017-07-27 18:43:54 -07:00
Steven Allen 704754bd7a gx publish 0.8.16 2017-07-27 00:18:44 -07:00
Jeromy 6bb259d1fc gx publish 0.8.15 2017-07-11 19:04:12 -07:00
Jeromy Johnson a922092abe Merge pull request #25 from libp2p/gx/update-e9zqg7
gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
2017-05-29 18:41:33 -07:00
Lars Gierth dedd28a872 gx publish 0.8.14 2017-05-30 02:20:24 +02:00
Jeromy 54f07fdf3c gx publish 0.8.13 2017-03-24 20:47:42 -07:00
Jakub Sztandera 28e8562c4d Merge pull request #21 from libp2p/ci/disable-osx
deps: disable osx travis
2017-03-09 15:40:04 +01:00
Jeromy 3c57018ae9 gx publish 0.8.12 2017-03-05 22:04:07 -08:00
Jakub Sztandera a6d9ab802f
deps: disable osx travis
It is unreliable.
2017-02-21 16:17:40 +01:00
Jeromy d146a584e8 gx publish 0.8.11 2017-02-03 13:44:45 -08:00
Jeromy bc3b3598ea gx publish 0.8.10 2017-02-03 13:14:19 -08:00
Jeromy 0c027b694b gx publish 0.8.9 2017-02-03 11:12:33 -08:00