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

Closed
Xiaohongt opened this Issue Jul 27, 2013 · 1 comment

Comments

Projects
None yet
3 participants
Contributor

Xiaohongt commented Jul 27, 2013

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 added a commit that referenced this issue Jul 29, 2013

@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 added a commit that referenced this issue Jul 29, 2013

@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 added a commit that referenced this issue Jul 29, 2013

@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 added a commit that referenced this issue Jul 29, 2013

@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
Contributor

gustavo-armenta commented Jul 31, 2013

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