Add option realitySettings.masterKeyLog

This commit is contained in:
Qi Lin 2024-01-11 14:36:13 +08:00 committed by yuhan6665
parent 961cf9d3b1
commit 0ea2a50264
5 changed files with 44 additions and 13 deletions

View file

@ -112,6 +112,7 @@ func UClient(c net.Conn, config *Config, ctx context.Context, dest net.Destinati
ServerName: config.ServerName,
InsecureSkipVerify: true,
SessionTicketsDisabled: true,
KeyLogWriter: KeyLogWriterFromConfig(config),
}
if utlsConfig.ServerName == "" {
utlsConfig.ServerName = dest.Address.String()