Skip to content

Potential leak when applications don't read from the connection #93

Closed
@propertyscott

Description

@propertyscott

The readme says:

nhooyr/websocket also responds to pings, pongs and close frames in a separate goroutine so that your application doesn't always need to read from the connection unless it expects a data message.

If an adversary sends a data message to an application that's not expecting a data message, then the read loop blocks forever.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions