mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-27 17:22:20 +01:00
disable timeout for web sockets and event source
This commit is contained in:
@@ -621,6 +621,7 @@ void AsyncWebSocket::_handleEvent(AsyncWebSocketClient * client, AwsEventType ty
|
||||
}
|
||||
|
||||
void AsyncWebSocket::_addClient(AsyncWebSocketClient * client){
|
||||
client->setRxTimeout(0);
|
||||
if(_clients == NULL){
|
||||
_clients = client;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user