Skip to content

No packages sent after briefly going offline when using long polling #3

@Artur-

Description

@Artur-

When setting Chrome to offline, the long polling connection in the browser is disconnected as expected. When setting Chrome back to "no throttling", the long polling connection is re-established.

However, SocketIoClient.sendPacket no longer sends any messages because the first check fails

        if (mConnection.getReadyState() == ReadyState.OPEN) {

In this situation, mConnection.getReadyState() remains ReadyState.CLOSED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions