tufao icon indicating copy to clipboard operation
tufao copied to clipboard

websocket transform large data data loss

Open dingoli opened this issue 7 years ago • 2 comments

I have fixed this issue; You should change the code like this: org code: WebSocket::parsePayloadData() { .... QByteArray chunk(priv->fragment); priv->fragment.clear(); emit newMessage(chunk); .... } changed code: WebSocket::parsePayloadData() { .... priv->fragment += priv->payload; emit newMessage(priv->fragment); priv->fragment.clear(); .... } My email is:[email protected]

dingoli avatar Sep 19 '17 17:09 dingoli

Can you provide a scenario/description on how to reproduce the error?

vinipsmaker avatar Sep 19 '17 19:09 vinipsmaker

Send several hundred KB data of size.I fond that received size of data smaller than sended size of data.

dingoli avatar Sep 20 '17 03:09 dingoli