Skip to content

How to detect a connection ungracefully closed by a client #456

@jymyj

Description

@jymyj

I noticed that a crash of the web browser (client side) that initiated a webocket connection does not trigger a kill of the script (I'am using bash) that was started by the websocket server at connection time, despite the existence of a ping-pong mechanism that could be used to detect and cure such a scenario.
How can we otherwise handle that scenario?

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