improve state handling of obfsvpn
- Apr 12, 2025
- Apr 11, 2025
related to leap/android_libs/bitmask-core-android!12 (merged) and obfsvpn!79 (merged)
More generally this MR reduces the amount of cases where obfsvpn gets into a unusable state after changing settings such as locations or obfuscation settings while the VPN is running. In those cases sometimes the VPN constantly failed to re-connect and only killing and restarting the app resolved the issue.
update VPN state to 'NOPROCESS' (not running) if starting obfsvpn fails while trying to establish an obfuscated connection
improve state handling of obfsvpn; try to restart obfsvpn in on different proxy port in case the default one is already boudn