nim-libp2p/libp2p/stream
Jacek Sieka 1efada474c
remove readLoop in secure protocols (#162)
* remove readLoop in secure protocols, fix security issues

* fix Defect on remote sending 0-byte noise/secio message
* remove msglen from `write` (unused)
* simplify SecureConn data flow
* document some control-flow issues

* unify exception behaviour across noise and secio

* secio would not raise on mac/decryption errors

* fix compile error
2020-05-07 14:37:46 -06:00
..
bufferstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
chronosstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
lpstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
streamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00