nim-libp2p/libp2p/stream
Dmitriy Ryajov 92fa4110c1
Rework transport to use chronos accept (#420)
* rework transport to use the new accept api

* use the new chronos primits

* fixup tests to use the new transport api

* handle all exceptions in upgradeIncoming

* master merge

* add multiaddress exception type

* raise appropriate exception on invalida address

* allow retrying on TransportTooManyError

* adding TODO

* wip

* merge master

* add sleep if nil is returned

* accept loop handles all exceptions

* avoid issues with tray/except/finally

* make consistent with master

* cleanup accept loop

* logging

* Update libp2p/transports/tcptransport.nim

Co-authored-by: Jacek Sieka <jacek@status.im>

* use Direction enum instead of initiator flag

* use consistent import style

* remove experimental `closeWithEOF()`

Co-authored-by: Jacek Sieka <jacek@status.im>
2020-11-18 20:06:42 -06:00
..
bufferstream.nim fix channels not being reset (#439) 2020-11-17 08:59:25 -06:00
chronosstream.nim make sure all streams are tracked (#422) 2020-11-04 21:52:54 -06:00
connection.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
lpstream.nim fix channels not being reset (#439) 2020-11-17 08:59:25 -06:00
streamseq.nim logging fixes and small cleanups (#361) 2020-09-09 19:12:08 +02:00