There was an error while loading. Please reload this page.
1 parent 46b2ae1 commit 108090eCopy full SHA for 108090e
src/WebSocketsServer.cpp
@@ -619,6 +619,10 @@ WSclient_t * WebSocketsServerCore::handleNewClient(WEBSOCKETS_NETWORK_CLASS * tc
619
#else
620
DEBUG_WEBSOCKETS("[WS-Server] no free space new client\n");
621
#endif
622
+ // no client! => create dummy!
623
+ WSclient_t dummy = WSclient_t();
624
+ client = & dummy;
625
+ client->tcp = tcpClient;
626
dropNativeClient(client);
627
}
628
0 commit comments