Rollback to stable OkHttp

There's some weird crashes related to it. Happy Eyeballs will return once we upgrade again.

(cherry picked from commit f060daf8c4ed94c5c5b6dc3007ba620612d637b4)
This commit is contained in:
arkon 2022-04-14 22:37:51 -04:00 committed by Jobobby04
parent af25e0e770
commit 2bd161d5a2
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ open /* SY <-- */ class NetworkHelper(context: Context) {
.cookieJar(cookieManager) .cookieJar(cookieManager)
.connectTimeout(30, TimeUnit.SECONDS) .connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS) .readTimeout(30, TimeUnit.SECONDS)
.fastFallback(true) // .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler
.addInterceptor(UserAgentInterceptor()) .addInterceptor(UserAgentInterceptor())
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {

View File

@ -1,6 +1,6 @@
[versions] [versions]
aboutlib_version = "8.9.4" aboutlib_version = "8.9.4"
okhttp_version = "5.0.0-alpha.6" okhttp_version = "4.9.3"
nucleus_version = "3.0.0" nucleus_version = "3.0.0"
coil_version = "2.0.0-rc03" coil_version = "2.0.0-rc03"
conductor_version = "3.1.2" conductor_version = "3.1.2"