Fix inconsistent URLTest results

This commit is contained in:
世界
2026-07-25 13:05:31 +08:00
parent 397fb4d20a
commit cb0051d64d
6 changed files with 42 additions and 1 deletions

View File

@@ -27,6 +27,11 @@ type OutboundWithPreferredRoutes interface {
PreferredAddress(address netip.Addr) bool
}
type OutboundWithMultiplex interface {
Outbound
MultiplexEnabled() bool
}
type DirectRouteOutbound interface {
Outbound
NewDirectRouteConnection(metadata InboundContext, routeContext tun.DirectRouteContext, timeout time.Duration) (tun.DirectRouteDestination, error)