This commit is contained in:
rustdesk 2023-07-27 17:02:01 +08:00
parent 813c51b0ca
commit 5d6b1223cc

View File

@ -329,6 +329,7 @@ impl Connection {
closed: false,
delay_response_instant: Instant::now(),
};
let addr = hbb_common::try_into_v4(addr);
if !conn.on_open(addr).await {
conn.closed = true;
// sleep to ensure msg got received.