浏览代码

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

风扇滑翔翼 9 月之前
父节点
当前提交
3e590a4eb1
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 {
 		if _, ok := conn.(*tls.Conn); ok {
 			return true
 			return true
 		}
 		}
+		if _, ok := conn.(*tls.UConn); ok {
+			return true
+		}
 	}
 	}
 	return false
 	return false
 }
 }