tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
638 stars 115 forks source link

Drain remote queue before blocking. #312

Closed carllerche closed 6 years ago

carllerche commented 6 years ago

Unless this is done before blocking, sending a command over the remote channel will not be able to wake up a blocked reactor.

Fixes #311

srijs commented 6 years ago

Thanks @carllerche! Can you advise on whether we should try to deploy a workaround in Rusoto until this lands in a new tokio-core release? Or is the plan to do a patch release soon-ish?

carllerche commented 6 years ago

@srijs i'll push it tonight. There are a couple of other issues I want to try to solve too.

carllerche commented 6 years ago

The fix is out.