Update WebSocketsClient.cpp

fix #140 Socket.io client doesn't reconnect to server
This commit is contained in:
Markus authored and GitHub committed 2016-11-23 17:39:48 +01:00
1 parent 92032289ec
commit 45bb7dbe23
1 file changed
+1
+1
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;