diff options
| author | tv <tv@krebsco.de> | 2026-10-23 22:53:16 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-23 22:53:16 +0200 |
| commit | 6063e647efc4aaad40fec2ee90689bd035144bde (patch) | |
| tree | f372a0ac9c33ebe91f32af7a5e5930f1e978e186 /src/state.rs | |
| parent | 4a788a5901e2613a028cc73e33e10cd67d092018 (diff) | |
perform handshake in one round trip
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/state.rs b/src/state.rs index 542cadb..64fa8ea 100644 --- a/src/state.rs +++ b/src/state.rs @@ -96,10 +96,6 @@ pub(crate) struct PeerState { pub(crate) standing: Standing, pub(crate) hello_state: HelloState, - /// The peer sent HELLO; we still owe it a HELLO_REPLY (e.g. we had no swarm ID yet, - /// or sending failed). - pub(crate) reply_owed: bool, - /// Everything about the current Automerge sync with this peer; a reset replaces it. pub(crate) sync: SyncSession, @@ -318,7 +314,6 @@ impl PeerState { leads, standing: Standing::default(), hello_state: HelloState::default(), - reply_owed: false, sync: SyncSession::new(leads, SessionCause::NewPeer), liveness: Liveness::Active, added_at: Instant::now(), |
