tokio-1.51.1
tokio-rs/tokiotokio-1.51.1Apr 8, 2026by Darksonn
AI Summary
A patch release that fixes critical bugs including semaphore reopening after forgetting, UDP socket error handling on Linux, and file descriptor leaks during `io_uring` operations.
Key Highlights
- Fixed semaphore reopen after forget
- Surface errors from `SO_ERROR` on UDP recv for Linux
- Fixed `worker_local_schedule_count` test
- Fixed file descriptor leak in `io_uring` cancel operation
Full Release Notes
# 1.51.1 (April 8th, 2026) ### Fixed - sync: fix semaphore reopens after forget ([#8021]) - net: surface errors from `SO_ERROR` on `recv` for UDP sockets on Linux ([#8001]) ### Fixed (unstable) - metrics: fix `worker_local_schedule_count` test ([#8008]) - rt: do not leak fd when cancelling io\_uring open operation ([#7983]) [#7983]: https://github.com/tokio-rs/tokio/pull/7983 [#8001]: https://github.com/tokio-rs/tokio/pull/8001 [#8008]: https://github.com/tokio-rs/tokio/pull/8008 [#8021]: https://github.com/tokio-rs/tokio/pull/8021