-
Notifications
You must be signed in to change notification settings - Fork 160
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
WebSocketTransport::close method does not make sense #81
Comments
@Kumamon38 can you explain how this method work ? This code does not make sense to me. |
comment |
I like the new close unittest which looks sensible and which pass, there used to be bugs in that code, but I have to say that this code is now much more complex than it used to be and that it doesn't make much sense anymore. |
There is also the OPENING state, but I wasn’t sure about if we can be in. I think we can remove the else part and the function |
*and the comment |
Cleaned 🧹 |
This is much better now, closing. Thanks for the fix. |
We have 3 states, OPEN, CLOSED, CLOSING.
The text was updated successfully, but these errors were encountered: