mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-12-04 23:54:13 +00:00
Fix URLTest session warmup for session-based outbounds
This commit is contained in:
@@ -70,6 +70,7 @@ var (
|
||||
_ adapter.OutboundWithPreferredRoutes = (*Endpoint)(nil)
|
||||
_ adapter.InterfaceUpdateListener = (*Endpoint)(nil)
|
||||
_ adapter.Referrer = (*Endpoint)(nil)
|
||||
_ adapter.OutboundWithMultiplex = (*Endpoint)(nil)
|
||||
_ dialer.PacketDialerWithDestination = (*Endpoint)(nil)
|
||||
_ tun.Port = (*Endpoint)(nil)
|
||||
)
|
||||
@@ -756,6 +757,10 @@ func (t *Endpoint) Logout(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *Endpoint) MultiplexEnabled() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (t *Endpoint) InterfaceUpdated(ctx context.Context) {
|
||||
if !t.started.Load() {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user