komikku/app
Two-Ai acc3e16230 Fixup HttpPageLoader _loadPage (#8984)
Fixup for e4bc8990 (#8955)

HttpSource.fetchImage() uses Call.asObservableSuccess(), which
cancels the call on unsubscribe. This causes the call to be cancelled
before it is used, leading to a "java.net.SocketException: Socket is
closed" when trying to use the response in putImageToCache().

To fix this, use Call.awaitSuccess() via a new HttpSource.getImage()
suspending function. This addition to source-api is only intended for
app use, so it will not be added to the extensions-api stubs.

(cherry picked from commit b4b3a4d2869fae7839b4b3111e289056e33cfea8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
2023-02-09 17:27:31 -05:00
..
src Fixup HttpPageLoader _loadPage (#8984) 2023-02-09 17:27:31 -05:00
.gitignore Move google-services.json 2020-04-29 17:56:05 -04:00
build.gradle.kts Move Category model and repository to domain and data layer (#8967) 2023-02-07 17:18:30 -05:00
proguard-android-optimize.txt Proguard fixes 2021-05-22 16:07:11 -04:00
proguard-rules.pro Fix debug functions on release builds 2022-10-18 21:46:29 -04:00
shortcuts.xml Remove more unused strings 2021-05-31 23:48:06 -04:00