We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05b980 commit 6919196Copy full SHA for 6919196
1 file changed
app/src/main/java/tech/httptoolkit/android/ProxyVpnRunnable.kt
@@ -85,7 +85,13 @@ class ProxyVpnRunnable(
85
86
val isIgnorable =
87
(e is ConnectException && errorMessage == "Permission denied") ||
88
+ // Nothing we can do if the internet goes down:
89
(e is ConnectException && errorMessage == "Network is unreachable") ||
90
+ (e is ConnectException && errorMessage.contains("ENETUNREACH")) ||
91
+ // Too many open files - can't make more sockets, not much we can do:
92
+ (e is ConnectException && errorMessage == "Too many open files") ||
93
+ (e is ConnectException && errorMessage.contains("EMFILE")) ||
94
+ // IPv6 is not supported here yet:
95
(e is PacketHeaderException && errorMessage.contains("IP version should be 4 but was 6"))
96
97
if (!isIgnorable) {
0 commit comments