-
Notifications
You must be signed in to change notification settings - Fork 226
Use tokio 0.1 (tokio reform updates) #199
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
Conversation
How does it compare to this repository? |
Thans @surdus , you made it available just as I needed it. I am currently using it in production and besides some sporadic disconnects (upstream write buffer fills up, which might be caused by another change of mine), its running fine. |
It is just tokio related updates with fix of all compile warnings (there were some related to deprecated methods). In repo you mentioned there is also updates for new hyper version as I see and looks it is still required some work to do (rust show warnings for some unused variables and deprecated methods). But in general looks like it also use new tokio |
So this pull request is probably for version |
Server (websocat is based on current rust-websocket version):
rust-websocket without bug (2f9ab02):
rust-websocket with this pull request merged in:
The faster server and the slower client go, the more probability of missed message is. |
Should works now. The problem was in codec update, non processed data in input buffer were lost. @kellerkindt issues that you mentioned may be related to this. |
Related issue #165