Rollback to stable OkHttp

There's some weird crashes related to it. Happy Eyeballs will return once we upgrade again.
This commit is contained in:
arkon 2022-04-14 22:37:51 -04:00
parent c1976ef599
commit f060daf8c4
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ 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 (preferences.verboseLogging()) { if (preferences.verboseLogging()) {

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"