Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tokio/asyncfile: fix endless loop on disconnection
Handle the case when read() is returning Ok(0), which means that the connection was closed. Ref: tokio-rs/tokio#4389 (reply in thread)
- Loading branch information