DescriptionReduce unnecessary download interruptions due to parallel requests
If a parallel request fails to when response starts, it will interrupt the download.
However, the failure may be recoverable by the main requst.
And this issue may cause a download to never finish even if user resumes it.
This change fixes the issue by allowing the failure to passthrough to DownloadFileImpl.
So that DownloadFileImpl can check whether the failure is recoverable.
A side effect of this change is more we will create received_slice vector even if all parallel requests fails.
This can be addressed in later changes.
BUG=720057
Review-Url: https://codereview.chromium.org/2872943003
Cr-Commit-Position: refs/heads/master@{#470994}
Committed: https://chromium.googlesource.com/chromium/src/+/c41a4fc09f9356d7d225747454b707eccd745e54
Patch Set 1 #
Total comments: 8
Patch Set 2 : more restrictions on DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE #
Messages
Total messages: 24 (15 generated)
|