You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fix] Close the connection cleanly when an error occurs
Instead of destroying the socket, try to close the connection cleanly
if an error (such as a data framing error) occurs after the opening
handshake has completed.
Also, to comply with the specification, use the 1006 status code if no
close frame is received, even if the connection is closed due to an
error.
Fixes#1898
0 commit comments