http: create a placeholder for and log ech status

This commit is contained in:
WeidiDeng 2025-10-31 08:26:57 +08:00
parent 92c8bc7322
commit 1a5f1af43c
No known key found for this signature in database
GPG key ID: 25F87CE1741EC7CD
3 changed files with 4 additions and 0 deletions

View file

@ -511,6 +511,8 @@ func getReqTLSReplacement(req *http.Request, key string) (any, bool) {
return true, true
case "server_name":
return req.TLS.ServerName, true
case "ech_accepted":
return req.TLS.ECHAccepted, true
}
return nil, false
}