Freedom: Don't use rawConn copy when using utls (#4272)

This commit is contained in:
风扇滑翔翼 2025-01-13 03:10:39 +08:00 committed by GitHub
parent ef4a3c1cae
commit 3e590a4eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -266,6 +266,9 @@ func isTLSConn(conn stat.Connection) bool {
if _, ok := conn.(*tls.Conn); ok {
return true
}
if _, ok := conn.(*tls.UConn); ok {
return true
}
}
return false
}