mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
client_reset: don't reset protocol
This commit is contained in:
parent
b2de3c98cc
commit
bd8a751fc4
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ lws_client_reset(struct lws **pwsi, int ssl, const char *address, int port,
|
|||
|
||||
wsi->desc.sockfd = LWS_SOCK_INVALID;
|
||||
lwsi_set_state(wsi, LRS_UNCONNECTED);
|
||||
wsi->protocol = NULL;
|
||||
// wsi->protocol = NULL;
|
||||
wsi->pending_timeout = NO_PENDING_TIMEOUT;
|
||||
wsi->c_port = port;
|
||||
wsi->hdr_parsing_completed = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue