mirror of
https://github.com/SagerNet/sing-shadowtls.git
synced 2025-04-04 20:57:43 +03:00
Add TLS session id generator
This commit is contained in:
parent
789a9918a5
commit
b28a0ef94f
2 changed files with 22 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue