Browse Source

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

风扇滑翔翼 9 months ago
parent
commit
3e590a4eb1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      proxy/freedom/freedom.go

+ 3 - 0
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
 }