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:
parent
654a2ebcd6
commit
f15dbebf88
|
@ -702,7 +702,7 @@ bool UWebSocket::sendData(const bool isServer, USocket* socket, int type, const
|
||||||
case 12:
|
case 12:
|
||||||
{
|
{
|
||||||
header[1] = 127;
|
header[1] = 127;
|
||||||
u_put_unalignedp32(header+2, htonl(len));
|
u_put_unalignedp64(header+2, htonl(len));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// client + len < 125
|
// client + len < 125
|
||||||
|
|
Loading…
Reference in New Issue
Block a user