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
Close before the upgrade request is handled by the server #32
Comments
Thanks for spotting this; it's fixed in 29d07c5. |
Awesome, thank you! |
Surely that's down to Node? faye-websocket doesn't control which events the |
@jcoglan I was thinking the same, wondering if it is an issue of the |
I've created this issue nodejs/node-v0.x-archive#8763. |
The server does not close cleanly if the client closes before the upgrade request is handled.
In this gist you can find a test case to reproduce the issue.
The
close
event is never emitted on the server and the process never exits.The same example "works" when using einaros/ws and it seems that the edge case is handled here.
Thank you.
The text was updated successfully, but these errors were encountered: