Avoid VPN watchdog recovery after TCP SYN ACK
This commit is contained in:
@@ -30,8 +30,8 @@ android {
|
||||
applicationId "su.cin.rapvpn"
|
||||
minSdk 26
|
||||
targetSdk 35
|
||||
versionCode 191
|
||||
versionName "0.2.191"
|
||||
versionCode 192
|
||||
versionName "0.2.192"
|
||||
buildConfigField "String", "DEFAULT_BACKEND_URL", "\"${normalizeGradleString(defaultBackendUrl)}\""
|
||||
buildConfigField "String", "DEFAULT_CLUSTER_ID", "\"${normalizeGradleString(defaultClusterId)}\""
|
||||
buildConfigField "String", "DEFAULT_ORGANIZATION_ID", "\"${normalizeGradleString(defaultOrganizationId)}\""
|
||||
|
||||
@@ -1706,7 +1706,11 @@ public class RapVpnService extends VpnService {
|
||||
remove.add(entry.getKey());
|
||||
continue;
|
||||
}
|
||||
if (value < 0 && age >= RUNTIME_WATCHDOG_STALE_SYNACK_MS) {
|
||||
if (value < 0) {
|
||||
remove.add(entry.getKey());
|
||||
continue;
|
||||
}
|
||||
if (age >= RUNTIME_WATCHDOG_STALE_SYNACK_MS) {
|
||||
stale++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user