mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-15 16:30:31 +02:00
fix c&p error in handling of more then 125 byte
This commit is contained in:
@ -341,7 +341,7 @@ void WebSockets::handleWebsocketCb(WSclient_t * client) {
|
||||
buffer++;
|
||||
|
||||
if(header->payloadLen == 126) {
|
||||
headerLen += 4;
|
||||
headerLen += 2;
|
||||
if(!handleWebsocketWaitFor(client, headerLen)) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user