Skip to content

Subscribing to socket.on('disconnect') prevents socket from reconnecting #745

@martypdx

Description

@martypdx

Without socket.on('disconnect') client sockets will reconnect if server goes down and then comes back up.

If I add socket.on('disconnect', function(){...}) then clients will not reconnect if server goes down and then comes back up.

Using https on Mac both Chrome 36.0.1985.125 and Safari Version 7.0.5 (9537.77.4)

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