6809e0a377
连接页延迟显示 ~3ms:连接态下 _measure 的直连 TCP 实测被全局 TUN 在本地接住, connect() 几毫秒即返回(假值),覆盖了内核 urltest 经 setLivePing 回写的真实 RTT (macOS system 栈 TUN 尤其明显)。Windows 端延迟本就取 sing-box urltest(clash API /proxies 的 history delay),macOS 经 libbox writeGroups 的 item.urlTestDelay 同源。 修复:_measure 在 connectionProvider.phase==on 时直接返回,不做直连实测——连接态延迟 只认 urltest(与 Windows 一致),断开后再恢复直连实测。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>