Add strict mode support for shadowtls v3

This commit is contained in:
世界
2023-02-21 16:34:41 +08:00
parent 23e8d282a3
commit 6b9603227b
4 changed files with 5 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ type ShadowTLSInboundOptions struct {
Users []ShadowTLSUser `json:"users,omitempty"`
Handshake ShadowTLSHandshakeOptions `json:"handshake,omitempty"`
HandshakeForServerName map[string]ShadowTLSHandshakeOptions `json:"handshake_for_server_name,omitempty"`
StrictMode bool `json:"strict_mode,omitempty"`
}
type ShadowTLSUser struct {