Update WebSocketsClient.cpp

fix #140 Socket.io client doesn't reconnect to server
This commit is contained in:
Markus
2016-11-23 17:39:48 +01:00
committed by GitHub
parent 92032289ec
commit 45bb7dbe23

View File

@ -331,6 +331,7 @@ void WebSocketsClient::clientDisconnect(WSclient_t * client) {
client->cVersion = 0;
client->cIsUpgrade = false;
client->cIsWebsocket = false;
client->SessionId = "";
client->status = WSC_NOT_CONNECTED;