Add uTLS support for shadowtls v3

This commit is contained in:
世界
2023-02-20 14:08:13 +08:00
parent bfa04897ae
commit 5635d6a4dc
8 changed files with 66 additions and 40 deletions

View File

@@ -25,6 +25,10 @@ type Config interface {
Clone() Config
}
type ConfigWithSessionIDGenerator interface {
SetSessionIDGenerator(generator func(clientHello []byte, sessionID []byte) error)
}
type ServerConfig interface {
Config
adapter.Service