Use HTTPS URLTest source

This commit is contained in:
世界
2023-04-13 09:03:08 +08:00
parent 7d1174e545
commit 3651605d3b
9 changed files with 29 additions and 32 deletions

View File

@@ -54,7 +54,7 @@ func New(ctx context.Context, router adapter.Router, logger log.ContextLogger, t
case C.TypeSelector:
return NewSelector(router, logger, tag, options.SelectorOptions)
case C.TypeURLTest:
return NewURLTest(router, logger, tag, options.URLTestOptions)
return NewURLTest(ctx, router, logger, tag, options.URLTestOptions)
default:
return nil, E.New("unknown outbound type: ", options.Type)
}