mirror of https://github.com/v2ray/v2ray-core
parent
0f0f01ddf6
commit
bccf11c12c
|
@ -163,7 +163,7 @@ func DialKCP(src v2net.Address, dest v2net.Destination, options internet.DialerO
|
||||||
if dest.Address.Family().IsDomain() {
|
if dest.Address.Family().IsDomain() {
|
||||||
config.ServerName = dest.Address.Domain()
|
config.ServerName = dest.Address.Domain()
|
||||||
}
|
}
|
||||||
tlsConn := tls.Client(conn, config)
|
tlsConn := tls.Client(iConn, config)
|
||||||
iConn = v2tls.NewConnection(tlsConn)
|
iConn = v2tls.NewConnection(tlsConn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue