Fix ECH server

This commit is contained in:
世界
2023-09-02 16:54:56 +08:00
parent eb6629dc5c
commit c79b4509bd
4 changed files with 6 additions and 7 deletions

View File

@@ -178,7 +178,7 @@ func NewECHClient(ctx context.Context, serverAddress string, options option.Outb
} else if options.ECH.ConfigPath != "" {
content, err := os.ReadFile(options.ECH.ConfigPath)
if err != nil {
return nil, E.Cause(err, "read key")
return nil, E.Cause(err, "read ECH config")
}
echConfig = content
}