Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Jul 27, 2023
1 parent 813c51b commit 5d6b122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d6b122

Please sign in to comment.