diff options
| author | tv <tv@krebsco.de> | 2026-10-30 20:16:25 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-30 20:16:25 +0100 |
| commit | da94708e6df5c2a2c4b7fce3e67494a19122db9f (patch) | |
| tree | bfdaf79bc5c36d0bb19fd948b771a08cb91c141b /src/transport/mod.rs | |
| parent | 2e934b7404e8f8fc5b9308e72f275a7b91cb027a (diff) | |
farewell means dormant
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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`). |
