mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-03-07 07:19:12 +00:00
Freedom: Don't use rawConn copy when using utls (#4272)
This commit is contained in:
parent
ef4a3c1cae
commit
3e590a4eb1
1 changed files with 3 additions and 0 deletions
|
@ -266,6 +266,9 @@ func isTLSConn(conn stat.Connection) bool {
|
||||||
if _, ok := conn.(*tls.Conn); ok {
|
if _, ok := conn.(*tls.Conn); ok {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if _, ok := conn.(*tls.UConn); ok {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue