grin/p2p/tests
Ignotus Peverell a9f4f36117
P2p ping and partial header reads fixes (#684)
* Re-introduce peer regular ping/pong
* Fix partial header reads. Turns out that on async tcp streams, even a small chunk like a
header can be read partially. So header read needs to rely on our
fixed-up `read_exact`, with an additional boolean to allow yield
when no bytes were read.
2018-02-05 19:52:11 +00:00
..
peer_handshake.rs P2p ping and partial header reads fixes (#684) 2018-02-05 19:52:11 +00:00