-
Notifications
You must be signed in to change notification settings - Fork 236
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
WakerProxy may be unnecessary #163
Comments
Thanks for a heads-up, @quininer. I'm not expert on that part of the code, but it indeed looks like we can now simplify thanks to upstream bugfixes. CC @application-developer-DA @jxs @agalakhov. |
hi @quininer, I see two possibilities: I would suggest going for 1 now, and consider 2 in the mid term |
This sounds great, and I am looking forward to 2. It would be great if there is a websocket library that works under |
Update to bytes 1.0
I found it from deno's discussion.
tokio-tungstenite
uses the trick of WakerProxy to solve the wake-up problem of two-way IO. but this is not necessary in tokio, the related problem is reported as tokio-rs/tls#40 .In short, the latest versions of
tokio::net::TcpStream
andtokio-rustls
are not affected by this issue.Given that this trick may cause lot spurious wakeups, we may be possible to provide an opt-out feature gate?
The text was updated successfully, but these errors were encountered: