nim-libp2p-experimental/tests
Dmitriy Ryajov 7900fd9f61
Half closed (#174)
* call write until all is written out

* add comments to lpchannel fields

* add an eof flag to signal which end closed

* wip: rework with proper half-closed

* add eof and closed handling

* propagate closes to piped

* call parent close

* moving bufferstream trackers out

* move writeLock to bufferstream

* move writeLock out

* remove unused call

* wip

* rebasing master

* fix mplex tests

* wip

* fix bufferstream after backport

* wip

* rename to differentiate from chronos tracker

* close connection on chronos close

* make reset request asyncCheck

* fix channel cleanup

* misc

* don't use read

* fix backports

* make noise work again

* proper exception handling

* don't reraise just yet

* add convenience templates

* dont double wrap

* use async pragma

* fixes after backporting

* muxer owns connection

* remove on transport close cleanup

* revert back allread

* adding some todos

* read from stream

* inc count before closing

* rebasing master

* rebase master

* use correct exception type

* use try/finally insted of defer

* fix compile in trace mode

* reset channels on mplex close
2020-05-19 18:14:15 -06:00
..
pubsub Cleanup - tests and logging (#178) 2020-05-18 07:49:49 -06:00
helpers.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
nim.cfg Tests are now testing with --threads:on. 2019-11-06 13:01:16 +02:00
testbufferstream.nim Remove read (#171) 2020-05-14 22:02:05 -06:00
testcid.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testconnection.nim connection closing tests 2020-04-07 12:16:59 -06:00
testcrypto.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testdaemon.nim Disable unreliable provide cid test. 2020-03-24 10:05:11 +02:00
testecnist.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
tested25519.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testidentify.nim remove generic constructor and expose serverflags (#176) 2020-05-18 13:04:05 -06:00
testinterop.nim remove generic constructor and expose serverflags (#176) 2020-05-18 13:04:05 -06:00
testmplex.nim Half closed (#174) 2020-05-19 18:14:15 -06:00
testmultiaddress.nim Fix MultiAddress.protoAddress() bug for fixed arrays. 2020-04-28 14:43:44 +03:00
testmultibase.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testmultihash.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testmultistream.nim remove generic constructor and expose serverflags (#176) 2020-05-18 13:04:05 -06:00
testnative.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testnoise.nim Half closed (#174) 2020-05-19 18:14:15 -06:00
testpeer.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testpeerinfo.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testrsa.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testsecp256k1.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
teststreamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testswitch.nim Half closed (#174) 2020-05-19 18:14:15 -06:00
testtransport.nim remove generic constructor and expose serverflags (#176) 2020-05-18 13:04:05 -06:00
testvarint.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00