Add uTLS support for shadowtls v3

This commit is contained in:
世界
2023-02-20 21:04:07 +08:00
parent 5bcfb71737
commit f26785c0ba
8 changed files with 66 additions and 40 deletions
+4
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