1
0
Fork 0
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:
Andy Green 2020-10-09 21:29:07 +01:00
parent 8d88d2f4f1
commit db5b2c1403

View file

@ -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