News Score: Score the News, Sort the News, Rewrite the Headlines

Async Rust is not safe with io_uring

October 30, 2024 by Tzu Gwo TL;DR 1. Clone this repository on a Linux system that supports io_uring. 2. Try switching these two lines. 3. Execute cargo run for a while. The demo shows that even though the behavior appears similar, TCP connections leak when using the io_uring driver but not with the epoll driver. I've also tested this across various io_uring runtimes, and it turns out to be a common issue across all of them. Barbara's TCP connection mysteriously leaked Barbara had a lot of exp...

Read more at tonbo.io

© News Score  score the news, sort the news, rewrite the headlines