Skip to content

Detect ungraceful client disconnects #18

@TheChifer

Description

@TheChifer

Play2 websockets do not detect ungracefully disconnected clients, i.e pull the network cable in the client machine server is not notified on the connection loss.

playframework/playframework#1388
http://stackoverflow.com/questions/21654421/websocket-connection-status-on-server
http://stackoverflow.com/questions/12681565/websocket-hard-disconnect-not-apparent

Solutions that are recommended talks about using heartbeats to detect stale connections. As we are using Sockjs api, is this a feature play2-sockjs can support?.
Undetected failures results is stale connection & a major problem in implementing a reconnect.

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