mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-11-27 08:14:09 +00:00
8b36deb350f7833a5c80b81b2654d8f6f7606c46
A server that waits to see a new session used before pushing under it (key confirmation, as WireGuard's next_keypair) keeps pushing under the old one after its welcome has gone out. The client now keeps that old session for receiving until a datagram opens under the new one, the way QUIC keeps old read keys for a while after a key update (RFC 9001 §6). Sending always uses the newest session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
Languages
Rust
100%