nim-libp2p-experimental/tests/pubsub
Jacek Sieka 49a12e619d
channel close race and deadlock fixes (#368)
* channel close race and deadlock fixes

* remove send lock, write chunks in one go
* push some of half-closed implementation to BufferStream
* fix some hangs where LPChannel readers and writers would not always
wake up
* simplify lazy channels
* fix close happening more than once in some orderings
* reenable connection tracking tests
* close channels first on mplex close such that consumers can read bytes

A notable difference is that BufferedStream is no longer considered EOF
until someone has actually read the EOF marker.

* docs, simplification
2020-09-21 19:48:19 +02:00
..
testfloodsub.nim channel close race and deadlock fixes (#368) 2020-09-21 19:48:19 +02:00
testgossipinternal.nim channel close race and deadlock fixes (#368) 2020-09-21 19:48:19 +02:00
testgossipinternal10.nim Gossip one one (#240) 2020-09-21 11:16:29 +02:00
testgossipsub.nim channel close race and deadlock fixes (#368) 2020-09-21 19:48:19 +02:00
testmcache.nim gossipsub / floodsub fixes (#348) 2020-09-04 08:10:32 +02:00
testmessage.nim Rework pubsub (#322) 2020-08-11 18:05:49 -06:00
testpubsub.nim gossipsub / floodsub fixes (#348) 2020-09-04 08:10:32 +02:00
testtimedcache.nim fix poor performance in LRU cache (#360) 2020-09-09 18:28:46 +02:00
utils.nim Gossip one one (#240) 2020-09-21 11:16:29 +02:00