nim-libp2p/libp2p
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
..
crypto gossipsub audit fixes (#412) 2020-10-30 21:49:54 +09:00
daemon Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
muxers fix channels not being reset (#439) 2020-11-17 08:59:25 -06:00
protobuf Add `libp2p_dump` and `libp2p_dump_dir` compiler time options. (#359) 2020-09-15 11:16:43 +02:00
protocols clarify validation messages (#431) 2020-11-12 01:42:12 +09:00
stream Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
transports Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
cid.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
connmanager.nim Re-add connection manager tests (#441) 2020-11-17 18:48:26 -06:00
debugutils.nim fix debugutils (#423) 2020-11-04 19:56:28 -06:00
errors.nim warn -> debug log levels in errors.nim 2020-08-20 16:53:28 +09:00
multiaddress.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
multibase.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multicodec.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multihash.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multistream.nim Gossip one one (#240) 2020-09-21 11:16:29 +02:00
peerid.nim simplify and unify logging (#353) 2020-09-06 10:31:47 +02:00
peerinfo.nim simplify and unify logging (#353) 2020-09-06 10:31:47 +02:00
standard_setup.nim mplex fixes (#362) 2020-09-14 10:19:54 +02:00
switch.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
transcoder.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
utility.nim Less verbose traces (#112) 2020-03-23 15:03:36 +09:00
varint.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
vbuffer.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
wire.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00