Fix reset outbounds

This commit is contained in:
世界
2024-07-13 17:46:22 +08:00
parent 6144c8e340
commit 98ff897f35
13 changed files with 92 additions and 15 deletions
+3
View File
@@ -127,6 +127,9 @@ func (h *VLESS) NewPacketConnection(ctx context.Context, conn N.PacketConn, meta
}
func (h *VLESS) InterfaceUpdated() {
if h.transport != nil {
h.transport.Close()
}
if h.multiplexDialer != nil {
h.multiplexDialer.Reset()
}