diff --git a/src/p2p/network.rs b/src/p2p/network.rs index 21bfaed..63eea43 100644 --- a/src/p2p/network.rs +++ b/src/p2p/network.rs @@ -168,6 +168,10 @@ fn handle_connection_event(context: Arc>, peers: &mut Peers, regi if event.is_error() || (event.is_read_closed() && event.is_write_closed()) { return false; } + if event.is_readable() && event.is_read_closed() { + info!("Spurious wakeup for connection {}, ignoring", event.token().0); + return true; + } if event.is_readable() { let data = {