fix #5163
This commit is contained in:
parent
813c51b0ca
commit
5d6b1223cc
@ -329,6 +329,7 @@ impl Connection {
|
|||||||
closed: false,
|
closed: false,
|
||||||
delay_response_instant: Instant::now(),
|
delay_response_instant: Instant::now(),
|
||||||
};
|
};
|
||||||
|
let addr = hbb_common::try_into_v4(addr);
|
||||||
if !conn.on_open(addr).await {
|
if !conn.on_open(addr).await {
|
||||||
conn.closed = true;
|
conn.closed = true;
|
||||||
// sleep to ensure msg got received.
|
// sleep to ensure msg got received.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user