client connect must init position_in_fds_table
This commit is contained in:
parent
969212e1dd
commit
171d29695f
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ lws_client_connect_via_info(struct lws_client_connect_info *i)
|
|||
wsi->state = LWSS_CLIENT_UNCONNECTED;
|
||||
wsi->protocol = NULL;
|
||||
wsi->pending_timeout = NO_PENDING_TIMEOUT;
|
||||
wsi->position_in_fds_table = -1;
|
||||
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
wsi->use_ssl = i->ssl_connection;
|
||||
|
|
Loading…
Add table
Reference in a new issue