Skip to content

websocket transform large data data loss #89

@dingoli

Description

@dingoli

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:158423489@qq.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions