client init fds pos to minus 1
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
6406f44b76
commit
c93c47f3a4
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ lws_client_connect(struct lws_context *context, const char *address,
|
|||
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 = ssl_connection;
|
||||
|
|
Loading…
Add table
Reference in a new issue