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

socket: allow upgrades if the socket is still in closing state (courtesy of @3rd-Eden) #285

Merged
merged 1 commit into from
Oct 3, 2014

Conversation

lpinca
Copy link
Contributor

@lpinca lpinca commented Sep 26, 2014

This ensures that any buffered data still to be flushed, can be sent to the client.
After flushing the data, if the readyState was set to 'closing', this will close the newly created transport and the connection.

rauchg added a commit that referenced this pull request Oct 3, 2014
socket: allow upgrades if the socket is still in closing state (courtesy of @3rd-Eden)
@rauchg rauchg merged commit aac04df into socketio:master Oct 3, 2014
@lpinca lpinca deleted the fix/gh-284 branch October 3, 2014 15:25
@rauchg
Copy link
Contributor

rauchg commented Oct 3, 2014

Thanks a lot for the fix @lpinca, @3rd-Eden. I apologize for the delay in merging.

darrachequesne pushed a commit that referenced this pull request May 8, 2020
polling-xhr: fix a comment and remove unneeded `document` reference
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