mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
close: ensure any pending sul_connect_timeout cancelled
This commit is contained in:
parent
8d88d2f4f1
commit
db5b2c1403
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ just_kill_connection:
|
|||
lws_vfs_file_close(&wsi->http.fop_fd);
|
||||
#endif
|
||||
|
||||
lws_sul_cancel(&wsi->sul_connect_timeout);
|
||||
#if defined(LWS_WITH_SYS_ASYNC_DNS)
|
||||
lws_async_dns_cancel(wsi);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue