fix: retry dictionary downloads on network-switch errors
Downloads killed by WiFi/mobile transitions failed with the generic "Dictionary download failed" message because UnknownHostException, ConnectException, unexpected end of stream, and closed-socket errors were not classified as network errors and were never retried. Classify them by exception type and message so the retry loop engages and exhaustion reports the network-specific message. Bump OkHttp 5.4.0 to 5.5.0: a throwing system proxy selector now falls back to a direct connection instead of failing the call, complementing the download resilience fix.
This commit is contained in:
@@ -8,7 +8,7 @@ datastore_preferences = "1.2.1"
|
||||
documentfile = "1.1.0"
|
||||
kotlin = "2.4.10"
|
||||
lifecycle_runtime_ktx = "2.11.0"
|
||||
okhttp = "5.4.0"
|
||||
okhttp = "5.5.0"
|
||||
paging = "3.5.1"
|
||||
profileinstaller = "1.4.1"
|
||||
kotlinx_coroutines = "1.11.0"
|
||||
|
||||
Reference in New Issue
Block a user