Fix anytls dialer usage

This commit is contained in:
世界 2025-02-27 09:40:20 +08:00
parent 99379ce244
commit 6e7650b59a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

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