Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Receive loop is racey #89

Open
Open
@BrennanConroy

Description

@BrennanConroy

TEST(websocket_transport_connect, transport_destroyed_even_if_disconnect_not_called)
On fast computers this fails very often because the transport shared pointer is acquired in the receive loop before the old receive loop finishes and destroys it acquired shared pointer. This could potentially "never" finish or take a very long time in production, wasting cpu cycles/resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions