Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

JS client webSockets /serverSendEvents /foreverFrame don't append /reconnect but append /poll in url when reconnect, however functional still work #1794

Closed
Xiaohongt opened this Issue · 1 comment

3 participants

@Xiaohongt
Collaborator

When reconnect, JS client webSockets /serverSendEvents /foreverFrame don't append reconnect in url, however functional still work, OnReconnected fire on server.

in source code, appendReconnectUrl is undefined when webSockets /serverSendEvents /foreverFrame reconnect, this is not regression from 1.0.1, but now they append "/poll" when reconnect

if (appendReconnectUrl) {
    url += "/reconnect";
} else {
    // A silent reconnect should only ever occur with the longPolling transport
    url += "/poll";
}
@davidfowl davidfowl closed this
@davidfowl davidfowl reopened this
@halter73 halter73 was assigned
@Xiaohongt Xiaohongt was assigned
@Xiaohongt
Collaborator

verified

@Xiaohongt Xiaohongt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.