Deprecate dns_hijack and dns inbound

This commit is contained in:
世界
2022-07-23 09:15:47 +08:00
parent 466912ad4a
commit d53056360b
18 changed files with 50 additions and 83 deletions

View File

@@ -31,9 +31,10 @@ func NewHTTP(router adapter.Router, logger log.ContextLogger, tag string, option
return &HTTP{
myOutboundAdapter{
protocol: C.TypeHTTP,
network: []string{C.NetworkTCP},
router: router,
logger: logger,
tag: tag,
network: []string{C.NetworkTCP},
},
http.NewClient(detour, options.ServerOptions.Build(), options.Username, options.Password),
}, nil