Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

JS client longPolling not raise reconnected event for reconnect when server process stop and re-start #2353

Closed
Xiaohongt opened this Issue · 1 comment

3 participants

@Xiaohongt
Collaborator

When stop the app pool for the web site and re-start the app pool, JS client longPolling will make reconnect, after reconnecting -> connected, on JS client reconnected event doesn't not raise.

This is not regression.

@NTaylorMullen NTaylorMullen referenced this issue from a commit
@NTaylorMullen NTaylorMullen Changed the fireReconnected event within the LP transport to correctl…
…y pass in the connections instance object.

- This ensures that if a LP transport receives a message after attempting to reconnect but prior to reconnected being triggered that the reconnected event will fire.

#2353
d2797b2
@NTaylorMullen NTaylorMullen referenced this issue from a commit
@NTaylorMullen NTaylorMullen Added test to verify that reconnected is triggered after a faulty con…
…nection regains connectivity and receives a message prior to the reconnected event being triggered.

#2353
6332051
@NTaylorMullen NTaylorMullen referenced this issue from a commit
@NTaylorMullen NTaylorMullen Changed the fireReconnected event within the LP transport to correctl…
…y pass in the connections instance object.

- This ensures that if a LP transport receives a message after attempting to reconnect but prior to reconnected being triggered that the reconnected event will fire.

#2353
3d9c18f
@NTaylorMullen NTaylorMullen referenced this issue from a commit
@NTaylorMullen NTaylorMullen Added test to verify that reconnected is triggered after a faulty con…
…nection regains connectivity and receives a message prior to the reconnected event being triggered.

#2353
5fd40ff
@gustavo-armenta

tested reconnecting and reconnected triggered on WS and LP

error: Error: Long polling request failed.
stateChanged: connected => reconnecting
reconnecting
stateChanged: reconnecting => connected
reconnected

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.