Skip to content

sync on unload doesn't work for XHR-Polling or JSONP #431

@crickeys

Description

@crickeys

I can't get the disconnectSync to actually disconnect the client if they close their browser in chrome (haven't tried elsewhere yet). To reproduce:

  1. Start a socket server with only XHR polling or only JSONP polling transports and debug log on
  2. Open connection in chrome (You'll see the handshake and connection in the debug log
  3. Close the browser tab
  4. Nothing registers on the server side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions