Skip to content

websocket: closing a connection may block for 5s #2201

@marten-seemann

Description

@marten-seemann

See coder/websocket#355 for details. This might block the connection manager loop and the swarm.Close for a long time, if we have a lot of WebSocket connections and this happens multiple times.
Not sure how realistic this is in practice, but I wouldn't want to risk it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions