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
Remove unused handle_no_connect
on wsproto
#1759
Conversation
5405f61
to
69f979d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. This looks good IMO.
Do we have a logic for RejectData
event in data_received
?
I don't understand the question. The RemoteProtocolError is raised on data_received. |
What I meant to ask was if we need to handle |
@iudeen - If you're happy with this, then you're welcome to review & accept it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thanks! |
Neither
RejectConnection
norRejectData
have thereason
field thathandle_no_connect
assumes both have, for that, I'm pretty confident this is never reached.What those lines try to solve, it's already handled on
data_receive
.