mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-11-27 00:04:34 +00:00
d98e65051fbb3269a42dce683c3c334b9bb0adf1
Pushes take their packet numbers from one counter for the whole server, so on a server with a hundred thousand devices the 64 numbers below the highest seen cover about ten milliseconds, and a push the network delays by more is dropped as a replay. A 1024-bit ring covers about 150 ms at that rate, for 120 more bytes per window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
Languages
Rust
100%