8000 mask ping for client · michkot/arduinoWebSockets@0aaf50f · GitHub
[go: up one dir, main page]

Skip to content

Commit 0aaf50f

Browse files
authored
mask ping for client
fix Links2004#34
1 parent 2add886 commit 0aaf50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebSocketsClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ bool WebSocketsClient::sendBIN(const uint8_t * payload, size_t length) {
215215
*/
216216
bool WebSocketsClient::sendPing(uint8_t * payload, size_t length) {
217217
if(clientIsConnected(&_client)) {
218-
return sendFrame(&_client, WSop_ping, payload, length);
218+
return sendFrame(&_client, WSop_ping, payload, length, true);
219219
}
220220
return false;
221221
}

0 commit comments

Comments
 (0)
0