This commit is contained in:
风扇滑翔翼
2025-08-01 07:35:21 +00:00
committed by GitHub
parent 115825f65c
commit 28bd838318
3 changed files with 23 additions and 11 deletions

View File

@@ -414,6 +414,7 @@ type TLSConfig struct {
VerifyPeerCertInNames []string `json:"verifyPeerCertInNames"`
ECHConfigList string `json:"echConfigList"`
ECHServerKeys string `json:"echServerKeys"`
ECHForceQuery bool `json:"echForceQuery"`
}
// Build implements Buildable.
@@ -494,6 +495,7 @@ func (c *TLSConfig) Build() (proto.Message, error) {
}
config.EchServerKeys = EchPrivateKey
}
config.EchForceQuery = c.ECHForceQuery
return config, nil
}