mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 07:35:44 +00:00
Fix: DialWithoutCache3 misbehave
This commit is contained in:
1 file changed
+1
@@ -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) {
|
func DialWithoutCache3(src v2net.Address, dest v2net.Destination, proxyMeta *proxy.OutboundHandlerMeta) (net.Conn, error) {
|
||||||
if proxyMeta.KcpSupported && transport.IsKcpEnabled() {
|
if proxyMeta.KcpSupported && transport.IsKcpEnabled() {
|
||||||
|
return DialKCPWithoutCache(src, dest)
|
||||||
}
|
}
|
||||||
return DialWithoutCache(src, dest)
|
return DialWithoutCache(src, dest)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user