nim-libp2p-experimental/libp2p
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
..
crypto Don't use and expose directly secp types (#183) 2020-05-19 14:48:55 +02:00
daemon Fix compilation errors introduced by latest chronos. 2020-03-24 09:48:05 +02:00
muxers Half closed (#174) 2020-05-19 18:14:15 -06:00
protobuf Fix overflow problem. 2019-10-29 20:51:48 +02:00
protocols Half closed (#174) 2020-05-19 18:14:15 -06:00
stream Half closed (#174) 2020-05-19 18:14:15 -06:00
transports Half closed (#174) 2020-05-19 18:14:15 -06:00
cid.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
connection.nim handle a few exceptions (#170) 2020-05-14 21:56:56 -06:00
errors.nim Cleanup - tests and logging (#178) 2020-05-18 07:49:49 -06:00
multiaddress.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multibase.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multicodec.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multihash.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multistream.nim handle a few exceptions (#170) 2020-05-14 21:56:56 -06:00
peer.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
peerinfo.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
standard_setup.nim remove generic constructor and expose serverflags (#176) 2020-05-18 13:04:05 -06:00
switch.nim Track all connections (#175) 2020-05-18 09:08:10 -06:00
transcoder.nim Add multicodec to table and make it single source of multiformat codes. 2018-12-05 17:24:07 +02:00
utility.nim Less verbose traces (#112) 2020-03-23 15:03:36 +09:00
varint.nim Signed variable integers fixes. (#96) 2020-03-06 20:19:43 +01:00
vbuffer.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
wire.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00