8000 fix c&p error in handling of more then 125 byte · coderGods/arduinoWebSockets@629f524 · GitHub
[go: up one dir, main page]

Skip to content

Commit 629f524

Browse files
committed
fix c&p error in handling of more then 125 byte
1 parent 63f8675 commit 629f524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebSockets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void WebSockets::handleWebsocketCb(WSclient_t * client) {
341341
buffer++;
342342

343343
if(header->payloadLen == 126) {
344-
headerLen += 4;
344+
headerLen += 2;
345345
if(!handleWebsocketWaitFor(client, headerLen)) {
346346
return;
347347
}

0 commit comments

Comments
 (0)
0