]> git.bitcoin.ninja Git - rust-lightning/commit
Wake reader future when we fail to flush socket buffer
authorMatt Corallo <git@bluematt.me>
Sun, 3 Oct 2021 21:44:52 +0000 (21:44 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 10 May 2022 23:40:20 +0000 (23:40 +0000)
commitf90983180eac9950256d47cb5eb77353f19fec6b
treeb8e1f2bd1f96c2e62e37258bea66ae2dbb7731f7
parent97711aef96556637b3f8b4336b688fbfcf4c2beb
Wake reader future when we fail to flush socket buffer

This avoids any extra calls to `read_event` after a write fails to
flush the write buffer fully, as is required by the PeerManager
API (though it isn't critical).
lightning-net-tokio/src/lib.rs