Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fallback to httpClient when the download.response throw an IOException #9033

Closed
Amejia481 opened this issue Nov 20, 2020 · 0 comments
Closed
Assignees
Labels
🐞 bug Something isn't working <download> Component: feature-download

Comments

@Amejia481
Copy link
Contributor

Amejia481 commented Nov 20, 2020

In cases where users with slow networks start a download but quickly press pause and then resume, there will be not enough time for bytes to be copied, but the stream in [download.response] will be closed, and when the user will retry we will try to use [download.response] over and over with a closed stream as a result the download will failed every time, we have to fallback to httpClient

┆Issue is synchronized with this Jira Task

@Amejia481 Amejia481 added 🐞 bug Something isn't working <download> Component: feature-download labels Nov 20, 2020
@Amejia481 Amejia481 self-assigned this Nov 20, 2020
Amejia481 added a commit to Amejia481/android-components that referenced this issue Nov 30, 2020
@mergify mergify bot closed this as completed in 9ec6a29 Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working <download> Component: feature-download
Projects
None yet
Development

No branches or pull requests

1 participant