From ec274789676fa05e457a935c4bef035020d86960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= Date: Thu, 9 Jan 2025 12:51:24 +0000 Subject: [PATCH] Freedom: Don't use rawConn copy when using utls --- proxy/freedom/freedom.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxy/freedom/freedom.go b/proxy/freedom/freedom.go index dcf012ae6637..6378bc1aab47 100644 --- a/proxy/freedom/freedom.go +++ b/proxy/freedom/freedom.go @@ -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 }