mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-01-10 16:55:57 +00:00
e9d4679059
* check that connection is not closed or eof * don't release connection lock prematurely * test that only valid connections can be added * correct exception type on closed connection * add clarifying comment * use closeWithEOF for more stable test * misc comments * log stream id in buffestream asserts * use closeWithEOF to prevent races in tests * give some time to the remote handler to trigger * adding more tests to make codecov happy