diff options
| author | tv <tv@krebsco.de> | 2026-10-24 00:33:19 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-24 00:33:19 +0200 |
| commit | 3feddee9a4e87a9f50f8e4be3df185990a92451a (patch) | |
| tree | 537f8a4a97a61d6c4a3010ef4801f371d627616a | |
| parent | 2a6d7f95b849b965b7f69364abe84c2169d6dfd8 (diff) | |
heal after reply timeout
| -rw-r--r-- | src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
