Skip to content

Conversation

@lxb007981
Copy link
Contributor

According to the docs, Tokio's TcpListener::from_std requires the underlying std::net::TcpListener to be in non-blocking mode. Otherwise accept().await will block the executor thread. This is especially problematic with a single-threaded runtime.

@SudoDios
Copy link
Collaborator

SudoDios commented Mar 9, 2025

Hi @lxb007981.
Yes, absolutely right, thank you

@SudoDios SudoDios merged commit 152e0bb into librespeed:master Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants