sam created pull request mumble/mumble-web2#33

sam
Tue, 05 May 2026 04:27:29 +0000

33#Move mumble UDP ping into common crate#

The desktop GUI doesn't go through the proxy to reach the Mumble server,
so its login screen needs to ping directly. Rather than duplicate the
ping logic, move it into the common crate behind an optional
networking feature (so common stays lightweight when the feature
isn't requested).

common: add ping_server(address, port) behind networking feature

proxy: replace the inline UdpSocket ping + ping.rs codec with a call
to common::ping_server; drop the rand dep

client: PlatformInterface::get_status now takes an address; desktop
and mobile call common::ping_server directly, web still uses the
proxy's /status endpoint

gui: thread the address from the login input through get_status, so
it re-pings when the user edits the address

Assisted-by: claude-opus-4-7