Add TLS session id generator

This commit is contained in:
世界 2024-11-17 15:41:12 +08:00
parent 789a9918a5
commit b28a0ef94f
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 22 additions and 12 deletions

View file

@ -784,6 +784,8 @@ type Config struct {
// used for debugging.
KeyLogWriter io.Writer
SessionIDGenerator func(clientHello []byte, sessionID []byte) error
// EncryptedClientHelloConfigList is a serialized ECHConfigList. If
// provided, clients will attempt to connect to servers using Encrypted
// Client Hello (ECH) using one of the provided ECHConfigs. Servers