mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-12-03 03:32:20 +00:00
c4787368d305da3d240ae491d272026d82a478a3
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%