1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

Fix: Dial3 misbehave

This commit is contained in:
Shelikhoo 2016-06-12 15:21:59 +08:00
parent 579786166c
commit 9315bb29fb
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

View File

@ -66,7 +66,7 @@ func DialWithoutCache(src v2net.Address, dest v2net.Destination) (net.Conn, erro
func Dial3(src v2net.Address, dest v2net.Destination, proxyMeta *proxy.OutboundHandlerMeta) (*Connection, error) {
if proxyMeta.KcpSupported && transport.IsKcpEnabled() {
DialKCP3(src, dest, proxyMeta)
return DialKCP3(src, dest, proxyMeta)
}
return Dial(src, dest)
}