Remove redundant stats in mux and bridge dispatcher (#5466)

Fixes https://github.com/XTLS/Xray-core/issues/5446
This commit is contained in:
yuhan6665
2025-12-31 06:00:45 -05:00
committed by GitHub
parent 5d94a62a83
commit a54e1f2be4
5 changed files with 16 additions and 31 deletions

View File

@@ -229,10 +229,6 @@ func (w *BridgeWorker) DispatchLink(ctx context.Context, dest net.Destination, l
}
return w.Dispatcher.DispatchLink(ctx, dest, link)
}
if d, ok := w.Dispatcher.(routing.WrapLinkDispatcher); ok {
link = d.WrapLink(ctx, link)
}
w.handleInternalConn(link)
return nil