diff --git a/lib/roles/http/client/client-handshake.c b/lib/roles/http/client/client-handshake.c index ee7bfd0e7..295c6e866 100644 --- a/lib/roles/http/client/client-handshake.c +++ b/lib/roles/http/client/client-handshake.c @@ -587,7 +587,7 @@ ads_known: goto failed; } - lws_out(wsi, + lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SOCKS_GREETING_REPLY, AWAITING_TIMEOUT);