Marek Krasnowski
Marek Krasnowski
Last time I was implementing TUS on Android, **HttpURLConnection** did not react correctly to disabling network adapter, possibly switching it. It behaved like there was a timeout and waited a...
To reproduce it, just start uploading and disable network adapter. Looks like Android >= 4.4 uses OkHttp internally while older versions do not and rely on old Http stack which...
http://square.github.io/okhttp/ -> "An HTTP & HTTP/2 client for Android and Java applications" :)
@rfelgent Wouldn't it only work with this custom protocol but not with http / https that TUS is using?
@Acconut Thanks for investigating the issue. Please consider option 2. OkHttp is very popular and well maintained library.