From da94708e6df5c2a2c4b7fce3e67494a19122db9f Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 30 Oct 2026 20:16:25 +0100 Subject: farewell means dormant --- src/transport/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index d774402..7fbbd73 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -199,6 +199,9 @@ pub(crate) struct Status { /// The sender would sync with the recipient: counts it as an active member on its /// own epoch. pub(crate) syncs_with_you: bool, + /// The sender is shutting down: its farewell (`keepalive::farewell`). The + /// recipient holds it dormant at once, rather than after `dormant_after` of silence. + pub(crate) leaving: bool, } /// Cheap to clone: large parts are shared (`bytes::Bytes`). -- cgit v1.3.1