mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
feat: adding support for Server is domain flag
This commit is contained in:
parent
56f9410507
commit
2dc6ade6d6
@ -41,7 +41,7 @@ func RegisterOutbound(registry *outbound.Registry) {
|
|||||||
// NewOutbound creates a proxyless outbond that uses the proxyless transport
|
// NewOutbound creates a proxyless outbond that uses the proxyless transport
|
||||||
// for dialing
|
// for dialing
|
||||||
func NewOutbound(ctx context.Context, router adapter.Router, log log.ContextLogger, tag string, options option.OutboundOutlineOptions) (adapter.Outbound, error) {
|
func NewOutbound(ctx context.Context, router adapter.Router, log log.ContextLogger, tag string, options option.OutboundOutlineOptions) (adapter.Outbound, error) {
|
||||||
outboundDialer, err := dialer.New(ctx, options.DialerOptions)
|
outboundDialer, err := dialer.New(ctx, options.DialerOptions, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user