Fix anytls dialer usage

This commit is contained in:
世界 2025-02-27 09:40:20 +08:00
parent 7473db9515
commit 9ddcd1c154
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -51,8 +51,9 @@ func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextL
outbound.tlsConfig = tlsConfig
outboundDialer, err := dialer.NewWithOptions(dialer.Options{
Context: ctx,
Options: options.DialerOptions,
Context: ctx,
Options: options.DialerOptions,
RemoteIsDomain: options.ServerIsDomain(),
})
if err != nil {
return nil, err