From f060daf8c4ed94c5c5b6dc3007ba620612d637b4 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 14 Apr 2022 22:37:51 -0400 Subject: [PATCH] Rollback to stable OkHttp There's some weird crashes related to it. Happy Eyeballs will return once we upgrade again. --- app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt index 1e988428d..bda8e707a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt @@ -27,7 +27,7 @@ class NetworkHelper(context: Context) { .cookieJar(cookieManager) .connectTimeout(30, TimeUnit.SECONDS) .readTimeout(30, TimeUnit.SECONDS) - .fastFallback(true) + // .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler .addInterceptor(UserAgentInterceptor()) if (preferences.verboseLogging()) { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 99148717f..2ec051e12 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] aboutlib_version = "8.9.4" -okhttp_version = "5.0.0-alpha.6" +okhttp_version = "4.9.3" nucleus_version = "3.0.0" coil_version = "2.0.0-rc03" conductor_version = "3.1.2"