Quellcode durchsuchen

Fix: DialWithoutCache3 misbehave

Shelikhoo vor 9 Jahren
Ursprung
Commit
579786166c
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      transport/hub/dialer.go

+ 1 - 0
transport/hub/dialer.go

@@ -72,6 +72,7 @@ func Dial3(src v2net.Address, dest v2net.Destination, proxyMeta *proxy.OutboundH
 }
 func DialWithoutCache3(src v2net.Address, dest v2net.Destination, proxyMeta *proxy.OutboundHandlerMeta) (net.Conn, error) {
 	if proxyMeta.KcpSupported && transport.IsKcpEnabled() {
+		return DialKCPWithoutCache(src, dest)
 	}
 	return DialWithoutCache(src, dest)
 }