-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmentoredIssues where we provide mentoringIssues where we provide mentoring
Description
TCP/UDP listeners and streams take A: std::net::ToSocketAddrs
. Some ToSocketAddrs
impls will resolve domain names. However, ToSocketAddrs
is not futures-aware, so DNS lookups are synchronous.
Possible solutions:
- Spawn a blocking task a la filesystem operations (simpler)
- Replace
ToSocketAddrs
with an async version (probably more efficient)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmentoredIssues where we provide mentoringIssues where we provide mentoring