common: resolve ping addresses with async DNS #36
Reference in New Issue
Block a user
Delete Branch "login-screen-async-dns-lookup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary: The previous std::net::ToSocketAddrs call blocked the runtime during
DNS lookup. This change allows the server ping status to be resolved
asynchronously.
Test Plan: I tested this alongside some other changes I'm doing and with the change the UI has stopped freezing. I see a
...placeholder value while the ping is being resolved.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.