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

@@ -53,6 +53,7 @@ func NewShadowTLS(ctx context.Context, router adapter.Router, logger log.Context
Dialer: dialer.New(router, options.Handshake.DialerOptions),
},
HandshakeForServerName: handshakeForServerName,
StrictMode: options.StrictMode,
Handler: inbound.upstreamContextHandler(),
Logger: logger,
})