-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Server should check socket state before calling 'send' method #44
Comments
Hi, @coderNeos! Thanks for reporting! Care to do a PR? |
Hi, i think i will be able to fix that issue in my free time. |
Thank you so much! |
Anyone got this? |
Nope, i didn't have any spare time to address this issue |
@lucaswxp: Wanna try providing a PR? |
@coderNeos any updates on this one maybe? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rpc-websockets/src/lib/server.js
Line 417 in 2f0f59e
In case if client socket closes the connection - 'send' will cause an unhandled rejection, which in some production environments might lead to application crash!
Mentioned problem is relevant to any other socket.send call.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: