]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Make fetching OCSP/CRL interruptible
authorTobias Brunner <tobias@strongswan.org>
Thu, 21 Jun 2018 09:17:22 +0000 (11:17 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 3 Jul 2018 09:31:41 +0000 (11:31 +0200)
commitad2d20e5f0174ad629b942f080982fcfbf843d22
tree3c96e402d841f974cc48da4f2bb8f53a92fca81d
parent8a09350f9f54ea23302b94a0ea388e633376cec1
android: Make fetching OCSP/CRL interruptible

This allows cancelling connecting if e.g. the OCSP server is not
reachable. Previously this caused some delay in disconnecting state but
even worse it cause an ANR if the user tried reconnecting during that
time as the main thread would get struck in setNextProfile() (we could
probably find a better solution there too in the future).
src/frontends/android/app/src/main/java/org/strongswan/android/logic/CharonVpnService.java
src/frontends/android/app/src/main/java/org/strongswan/android/logic/SimpleFetcher.java