Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added better message reasons during websocket.onclose where a String reason isn't provided #37

Merged
merged 1 commit into from
Oct 11, 2011

Conversation

sroebuck
Copy link
Contributor

Edited modules/jquery/src/main/webapp/jquery/jquery.atmosphere.js via GitHub

@sroebuck
Copy link
Contributor Author

The final changed line modifies the condition for choosing to either retry websocket or downgrade. The previous code would display "Websocket closed cleanly" even when the close was defined as not being clean. It may be that the correct behaviour is to accept the previous condition and just change the log message!

jfarcand added a commit that referenced this pull request Oct 11, 2011
Added better message reasons during websocket.onclose where a String reason isn't provided
@jfarcand jfarcand merged commit 59af2d5 into Atmosphere:master Oct 11, 2011
jfarcand added a commit that referenced this pull request May 30, 2012
Added better message reasons during websocket.onclose where a String reason isn't provided
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants