Skip to content

Remaining Bytes = 0 after reading 1-2-3 packets from 5 #229

@romanvoloboev

Description

@romanvoloboev

When executing ListPlayers on full squad server it returns huge response which divides into 5 packets.
Very often library reads only part of this response (for example only 1st packet, or only 1st and 2nd packets, etc), saying that No more bytes to read and finish collecting packets.
And as result I have data for 23/100 or 46/100 or even more rare case 70/100 when it reads only 3 or 4 packets of 5..

It looks like server didn't send all data at once to the channel, and this data appears later, but it's to late to handle it.

image 1

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