TLS ECH: Remove echForceQuery (ECH is forced now if configured) (#6032)

https://github.com/XTLS/Xray-core/pull/5887#issuecomment-4184701517
This commit is contained in:
风扇滑翔翼
2026-05-02 18:33:43 +08:00
committed by GitHub
parent 4e87f59628
commit 1fc6850dc4
4 changed files with 23 additions and 53 deletions
+1 -5
View File
@@ -469,11 +469,7 @@ func (c *Config) GetTLSConfig(opts ...Option) *tls.Config {
if len(c.EchConfigList) > 0 || len(c.EchServerKeys) > 0 {
err := ApplyECH(c, config)
if err != nil {
if c.EchForceQuery == "full" {
errors.LogError(context.Background(), err)
} else {
errors.LogInfo(context.Background(), err)
}
errors.LogError(context.Background(), err)
}
}