mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
smp: connect3: hold pt lock when removing failed connect attempt
This commit is contained in:
parent
0d720082fb
commit
38496b9184
1 changed files with 2 additions and 0 deletions
|
@ -541,7 +541,9 @@ connect_to:
|
|||
lwsl_info("%s: abandoning connect due to timeout\n", __func__);
|
||||
|
||||
try_next_dns_result_fds:
|
||||
lws_pt_lock(pt, __func__);
|
||||
__remove_wsi_socket_from_fds(wsi);
|
||||
lws_pt_unlock(pt);
|
||||
|
||||
try_next_dns_result_closesock:
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue