From e90353e5506363c3a5f6cddd9dc36993c1207911 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:46:24 +0800 Subject: [PATCH] Bug fix --- v2rayN/v2rayN/Global.cs | 2 ++ v2rayN/v2rayN/Handler/CoreConfigSingbox.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/Global.cs b/v2rayN/v2rayN/Global.cs index bf8e8bc4..7bb4df6e 100644 --- a/v2rayN/v2rayN/Global.cs +++ b/v2rayN/v2rayN/Global.cs @@ -111,6 +111,8 @@ namespace v2rayN public static readonly List SpeedPingTestUrls = new() { @"https://www.google.com/generate_204", + @"https://www.apple.com/library/test/success.html", + @"http://www.msftconnecttest.com/connecttest.txt", }; public static readonly Dictionary UserAgentTexts = new() diff --git a/v2rayN/v2rayN/Handler/CoreConfigSingbox.cs b/v2rayN/v2rayN/Handler/CoreConfigSingbox.cs index 2781cd69..209e6dea 100644 --- a/v2rayN/v2rayN/Handler/CoreConfigSingbox.cs +++ b/v2rayN/v2rayN/Handler/CoreConfigSingbox.cs @@ -873,7 +873,7 @@ namespace v2rayN.Handler } GenLog(singboxConfig); - GenDns(new(), singboxConfig); + //GenDns(new(), singboxConfig); singboxConfig.inbounds.Clear(); // Remove "proxy" service for speedtest, avoiding port conflicts. singboxConfig.outbounds.RemoveAt(0);