1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00

Update websocket.cpp

This commit is contained in:
Victor Stewart 2019-11-30 21:48:33 -04:00 committed by GitHub
parent 654a2ebcd6
commit f15dbebf88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -702,7 +702,7 @@ bool UWebSocket::sendData(const bool isServer, USocket* socket, int type, const
case 12:
{
header[1] = 127;
u_put_unalignedp32(header+2, htonl(len));
u_put_unalignedp64(header+2, htonl(len));
break;
}
// client + len < 125