Forráskód Böngészése

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

风扇滑翔翼 9 hónapja
szülő
commit
3e590a4eb1
1 módosított fájl, 3 hozzáadás és 0 törlés
  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
 }