mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
fix tls over kcp
This commit is contained in:
parent
0f0f01ddf6
commit
bccf11c12c
@ -163,7 +163,7 @@ func DialKCP(src v2net.Address, dest v2net.Destination, options internet.DialerO
|
||||
if dest.Address.Family().IsDomain() {
|
||||
config.ServerName = dest.Address.Domain()
|
||||
}
|
||||
tlsConn := tls.Client(conn, config)
|
||||
tlsConn := tls.Client(iConn, config)
|
||||
iConn = v2tls.NewConnection(tlsConn)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user