nim-libp2p/tests
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
..
pubsub Cleanup tests (#435) 2020-11-12 21:44:02 -06:00
helpers.nim Cleanup tests (#435) 2020-11-12 21:44:02 -06:00
nim.cfg Tests are now testing with --threads:on. 2019-11-06 13:01:16 +02:00
testbufferstream.nim fix channels not being reset (#439) 2020-11-17 08:59:25 -06:00
testcid.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testconnection.nim Cleanup tests (#435) 2020-11-12 21:44:02 -06:00
testconnmngr.nim Re-add connection manager tests (#441) 2020-11-17 18:48:26 -06:00
testcrypto.nim Audit curve fixes part2 (#298) 2020-08-04 18:19:26 +09:00
testdaemon.nim Peer resultification and defect only (#245) 2020-07-01 08:25:09 +02:00
testecnist.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
tested25519.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testidentify.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
testinterop.nim Cleanup tests (#435) 2020-11-12 21:44:02 -06:00
testminasn1.nim Refactor minasn1 and fix security issues. (#323) 2020-08-11 16:58:51 -06:00
testminprotobuf.nim Minprotobuf refactoring 2 (#269) 2020-07-15 10:25:39 +02:00
testmplex.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
testmultiaddress.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
testmultibase.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
testmultihash.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testmultistream.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
testnative.nim Re-add connection manager tests (#441) 2020-11-17 18:48:26 -06:00
testnoise.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
testpeer.nim simplify and unify logging (#353) 2020-09-06 10:31:47 +02:00
testpeerinfo.nim peer hooks -> events (#320) 2020-08-08 08:52:20 +02:00
testpkifilter.nim Public key infrastructure filters. (#272) 2020-07-21 14:10:21 -06:00
testrsa.nim Fix #266. (#270) 2020-07-15 10:24:04 +02:00
testsecp256k1.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
teststreamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testswitch.nim Cleanup tests (#435) 2020-11-12 21:44:02 -06:00
testtransport.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
testvarint.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00