nim-libp2p-experimental/libp2p/protocols/pubsub
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
..
rpc Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
floodsub.nim Add PubSub observer+ hooks (they can modify as well) 2020-05-08 13:31:52 -06:00
gossipsub.nim Half closed (#174) 2020-05-19 18:14:15 -06:00
mcache.nim Cleanup (#55) 2019-12-10 14:50:35 -06:00
pubsub.nim handle a few exceptions (#170) 2020-05-14 21:56:56 -06:00
pubsubpeer.nim Half closed (#174) 2020-05-19 18:14:15 -06:00
timedcache.nim Make sure the library can compile with json logging in trace mode 2020-02-04 15:17:39 +01:00