mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-15 16:30:31 +02:00
@ -254,7 +254,11 @@ void WebSockets::handleWebsocket(WSclient_t * client) {
|
||||
}
|
||||
|
||||
if(mask) {
|
||||
client->tcp.read(maskKey, 4);
|
||||
if(!readWait(client, maskKey, 4)) {
|
||||
//timeout
|
||||
clientDisconnect(client, 1002);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if(payloadLen > 0) {
|
||||
|
Reference in New Issue
Block a user