94 Commits

Author SHA1 Message Date
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 gx/v0.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 gx/v0.8.21 2017-08-23 16:15:17 +02:00
Steven Allen
9a5851c0f6 gx publish 0.8.20 gx/v0.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 gx/v0.8.19 2017-07-31 19:57:27 -07:00
Steven Allen
d7512c9124 gx publish 0.8.18 gx/v0.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 gx/v0.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 gx/v0.8.16 2017-07-27 00:18:44 -07:00
Jeromy
6bb259d1fc gx publish 0.8.15 gx/v0.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 gx/v0.8.14 2017-05-30 02:20:24 +02:00
Jeromy
54f07fdf3c gx publish 0.8.13 gx/v0.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 gx/v0.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 gx/v0.8.11 2017-02-03 13:44:45 -08:00
Jeromy
bc3b3598ea gx publish 0.8.10 gx/v0.8.10 2017-02-03 13:14:19 -08:00
Jeromy
0c027b694b gx publish 0.8.9 gx/v0.8.9 2017-02-03 11:12:33 -08:00
Jeromy
24a1d48d33 gx publish 0.8.8 gx/v0.8.8 2017-02-02 19:13:49 -08:00
Jeromy
98a3f2b40c gx publish 0.8.7 gx/v0.8.7 2017-01-10 14:45:28 -08:00
Jeromy
01af0dc890 remove basichost dep, update go-multistream 2017-01-10 14:45:25 -08:00
Jeromy
c313bf0624 gx publish 0.8.6 gx/v0.8.6 2017-01-10 08:03:41 -08:00
Jeromy
77031d407f fix multistream import paths 2017-01-10 08:03:35 -08:00
Jeromy
58e9c49380 gx publish 0.8.5 gx/v0.8.5 2017-01-09 09:54:36 -08:00
Jeromy
25ef943eea change from field to bytes to avoid json marshalling corruption 2017-01-09 09:52:07 -08:00
Jeromy
a5b52ed013 gx publish 0.8.4 gx/v0.8.4 2017-01-06 06:26:30 -08:00
Jeromy
154d086bff update to go-libp2p 4.3.2 2017-01-06 06:26:25 -08:00
Jakub Sztandera
805e5f0bd5 Merge pull request #18 from elimisteve/patch-1
Updated README.md: Fixed 'go get' URL
2016-12-28 13:50:15 +01:00
Steve Phillips
059c6e3918 Updated README.md: Fixed 'go get' URL 2016-12-28 01:21:37 -08:00
Jeromy
82d1064ae8 gx publish 0.8.3 gx/v0.8.3 2016-12-27 01:55:28 -08:00
Jeromy
985cedfe28 gx publish 0.8.2 gx/v0.8.2 2016-11-28 20:16:40 -08:00
Jeromy Johnson
c35ec2914a Merge pull request #16 from libp2p/deps/libp2p-4.3.0
update packages, go-libp2p 0.4.3 bubble
2016-11-28 20:11:09 -08:00
Jeromy
3ed2c9e810 update packages, go-libp2p 0.4.3 bubble 2016-11-28 20:06:23 -08:00
Jeromy Johnson
c3de971f06 Merge pull request #10 from keks/feat/feed-refactor
Subscribe to a topic multiple times
2016-11-21 08:45:27 -08:00
Jan Winkelmann
4e943ef7f8 gx publish 0.8.1 gx/v0.8.1 2016-11-21 16:36:28 +01:00
Jan Winkelmann
be649ae2c3 downgrade libp2p-netutil to 0.1.0 2016-11-21 16:35:43 +01:00
Jan Winkelmann
32d57f202a update to go-libp2p-netutil 2016-11-21 16:35:43 +01:00
Jan Winkelmann
25b8aad61f add ctx to sub.Next for cancellation 2016-11-18 02:23:38 +01:00
Jan Winkelmann
539e4b6b45 longer sleep in test so race becomes less likely 2016-11-18 02:23:38 +01:00
Jan Winkelmann
ae48a15d7b make Subscribe go through SubscribeByTopicDescriptor 2016-11-18 02:23:38 +01:00
Jan Winkelmann
1c9a576526 Test, SubscribeByTopicDescriptor and minor improvement 2016-11-18 02:23:38 +01:00
Jan Winkelmann
c9b2c6c8fd make go vet happy (t.Fatal was provided a formatting string) 2016-11-18 02:23:38 +01:00
Jan Winkelmann
3a30ab4c17 comments 2016-11-18 02:23:38 +01:00
Jan Winkelmann
b71e3adbd7 first cleanup wave 2016-11-18 02:23:38 +01:00