From 31bcd1f96be8625266d7d64e594341d849e90fc1 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 24 Oct 2026 00:33:19 +0200 Subject: heal after reply timeout --- src/state.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/state.rs b/src/state.rs index 46a29d4..a6c2356 100644 --- a/src/state.rs +++ b/src/state.rs @@ -324,9 +324,12 @@ impl PeerState { timing: &Timing, now: Instant, ) -> bool { + // While an answer to our last sync message is due, a lost message is the reply + // timeout's to resend; healing is for when neither side has anything outstanding. if local == remote || self.liveness != Liveness::Active || self.hello_state != HelloState::Established + || self.sync.reply.is_some() { return false; } -- cgit v1.3.1