Skip to content

Websockets can't tell whether a connection was closed cleanly #65

Description

@tehdragonfly

A regular disconnect message should be sent under the following circumstances:

  • The user disconnects via the "Abscond" button
  • The user navigates to a different page in the same tab
  • The user closes the tab

A connection error message should be sent under the following circumstances:

  • The user's browser crashes
  • Nginx times out the socket

So far I haven't been able to reliably distinguish between these two sets of circumstances.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions