nim-libp2p/libp2p/muxers/mplex
Jacek Sieka 74acd0a33a
fix channels not being reset (#439)
* fix channels not being reset

silly for loop..

* allow only one concurrent read
* fix mplex test race condition
* add some bufferstream eof tests

* deadlock, lost data and hung channel fixes

* prevent concurrent `reset` calls
* reset LPChannel when read is cancelled (since data is lost)
* ensure there's one, and one only, 0-byte readOnce on EOF
* ensure that all data is returned before EOF is returned
* keep running activity monitor for half-closed channels (or they never
get closed)
2020-11-17 08:59:25 -06:00
..
coder.nim channel close race and deadlock fixes (#368) 2020-09-21 19:48:19 +02:00
lpchannel.nim fix channels not being reset (#439) 2020-11-17 08:59:25 -06:00
mplex.nim Reset channels on close (#425) 2020-11-06 09:24:24 -06:00