瀏覽代碼

Fix: DialWithoutCache3 misbehave

Shelikhoo 9 年之前
父節點
當前提交
579786166c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)
 }