fix(xray): stop emitting obsolete echForceQuery (#10480)

This commit is contained in:
Miheichev Aleksandr Sergeevich
2026-11-01 13:11:17 +00:00
committed by GitHub
parent a2a8a77ff6
commit 756916978d
3 changed files with 37 additions and 6 deletions
@@ -343,7 +343,6 @@ public class TlsSettings4Ray
public string? pinnedPeerCertSha256 { get; set; }
public bool? disableSystemRoot { get; set; }
public string? echConfigList { get; set; }
public string? echForceQuery { get; set; }
public Sockopt4Ray? echSockopt { get; set; }
}
@@ -337,11 +337,6 @@ public partial class CoreConfigV2rayService
{
tlsSettings.serverName = Utils.String2List(host)?.First();
}
if (!tlsSettings.echConfigList.IsNullOrEmpty())
{
// For legacy xray compatibility, remove this in the future
tlsSettings.echForceQuery = "full";
}
var certs = CertPemManager.ParsePemChain(_node.Cert);
if (certs.Count > 0)
{