Skip to content
Snippets Groups Projects
Commit cc551fc0 authored by Andrejs Hanins's avatar Andrejs Hanins Committed by Andy Green
Browse files

client connect must init position_in_fds_table

parent 3ccac4d5
No related branches found
No related tags found
No related merge requests found
...@@ -394,6 +394,7 @@ lws_client_connect_via_info(struct lws_client_connect_info *i) ...@@ -394,6 +394,7 @@ lws_client_connect_via_info(struct lws_client_connect_info *i)
wsi->state = LWSS_CLIENT_UNCONNECTED; wsi->state = LWSS_CLIENT_UNCONNECTED;
wsi->protocol = NULL; wsi->protocol = NULL;
wsi->pending_timeout = NO_PENDING_TIMEOUT; wsi->pending_timeout = NO_PENDING_TIMEOUT;
wsi->position_in_fds_table = -1;
#ifdef LWS_OPENSSL_SUPPORT #ifdef LWS_OPENSSL_SUPPORT
wsi->use_ssl = i->ssl_connection; wsi->use_ssl = i->ssl_connection;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment