Skip to content

Commit 643a860

Browse files
committed
Revert "filter out IPv6 hath.network"
Both are slow.
1 parent f2651a2 commit 643a860

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

patches/0001-anti-dpi.patch

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ new file mode 100644
6565
index 000000000..3ce78c5de
6666
--- /dev/null
6767
+++ b/app/src/main/kotlin/com/hippo/ehviewer/client/EhDns.kt
68-
@@ -0,0 +1,70 @@
68+
@@ -0,0 +1,67 @@
6969
+package com.hippo.ehviewer.client
7070
+
7171
+import com.ehviewer.core.util.isAtLeastQ
@@ -129,9 +129,6 @@ index 000000000..3ce78c5de
129129
+ builtInHosts[hostname] ?: systemDns.lookup("$hostname$CFSUFFIX")
130130
+ (hostname in dohSkipDomains) ->
131131
+ systemDns.lookup(hostname)
132-
+ (EXCEPTIONAL_DOMAIN in hostname) ->
133-
+ (systemDns.lookup(hostname))
134-
+ .filterIsInstance<Inet4Address>()
135132
+ else ->
136133
+ builtInHosts[hostname] ?: systemDns.lookup(hostname)
137134
+ }.shuffled()

0 commit comments

Comments
 (0)