diff options
| author | tv <tv@krebsco.de> | 2026-10-22 21:55:36 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-22 21:55:36 +0200 |
| commit | 7baed9d4c75437658f2dfa9572226b8163effaee (patch) | |
| tree | 498a20ad60fe4bb50dd93fa58f7c0e38c28394aa /src/transport.rs | |
| parent | 1dcf40f06c27f4deff73df204dc05fbf999234f5 (diff) | |
When an sync messages arrives and automerge has nothing to say about it,
then no reply is generated. With c9279e4 it was assumed that every sync
message gets an answer, so missing replies caused unnecessary resends.
Now a reply is only awaited if the peer's last reported heads differ
from ours. If the peer's heads become equal through a third peer without
replying, the waiting will also abort if a ping or pong showss the same
heads digest on both sides.
Diffstat (limited to 'src/transport.rs')
0 files changed, 0 insertions, 0 deletions
