Add strict mode support for shadowtls v3

This commit is contained in:
世界
2023-02-21 16:34:41 +08:00
parent e205ea6371
commit c84a35e477
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 {