Core: WebSocker mask fix

git-svn-id: svn://ultimatepp.org/upp/trunk@11816 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-03-02 14:23:00 +00:00
parent 0ad3102a49
commit ce4590cbfe

View file

@ -461,7 +461,7 @@ void WebSocket::SendRaw(int hdr, const String& data, dword mask)
header.Cat(byte(len));
}
else
header.Cat((int)len);
header.Cat((int)len | mask);
if(mask) {
byte Cle[4];