Update to OkHttp 5.5

Disable fast fallback due to it being intolerate of thread interruptions.
This commit is contained in:
Cameron Gutman
2026-09-02 22:00:09 -05:00
parent 801dba1ba8
commit 98c12bebff
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ dependencies {
implementation 'org.bouncycastle:bcprov-jdk18on:1.85.2'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.85'
implementation 'org.jcodec:jcodec:0.2.5'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.okhttp3:okhttp:5.5.0'
implementation 'org.jmdns:jmdns:3.6.3'
implementation 'com.github.cgutman:ShieldControllerExtensions:1.0.1'
@@ -178,6 +178,7 @@ public class NvHTTP {
.readTimeout(READ_TIMEOUT, TimeUnit.MILLISECONDS)
.connectTimeout(LONG_CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
.proxy(Proxy.NO_PROXY)
.fastFallback(false)
.build();
httpClientShortConnectTimeout = httpClientLongConnectTimeout.newBuilder()