common: resolve ping addresses with async DNS #36

Open
restitux wants to merge 1 commits from login-screen-async-dns-lookup into main
Owner

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

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>
restitux added 1 commit 2026-05-06 00:21:49 +00:00
common: resolve ping addresses with async DNS
Build Mumble Web 2 / macos_build (push) Successful in 1m20s
Build Mumble Web 2 / linux_build (push) Successful in 1m27s
Build Mumble Web 2 / windows_build (push) Successful in 2m57s
Build Mumble Web 2 / android_build (push) Successful in 4m40s
25ec34d7e7
The previous std::net::ToSocketAddrs call blocked the runtime during
DNS lookup. This change allows the server ping status to be resolved
asynchronously.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
restitux requested review from sam 2026-05-06 00:21:49 +00:00
Some checks are pending
Build Mumble Web 2 / macos_build (push) Successful in 1m20s
Build Mumble Web 2 / linux_build (push) Successful in 1m27s
Build Mumble Web 2 / windows_build (push) Successful in 2m57s
Build Mumble Web 2 / android_build (push) Successful in 4m40s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin login-screen-async-dns-lookup:login-screen-async-dns-lookup
git checkout login-screen-async-dns-lookup
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mumble/mumble-web2#36