Chromium Code Reviews
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
TBR=dtrainor@chromium.org
Review-Url: https://codereview.chromium.org/2872943003
Cr-Original-Commit-Position: refs/heads/master@{#470994}
Review-Url: https://codereview.chromium.org/2881463003 .
Cr-Commit-Position: refs/branch-heads/3071@{#522}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}
Committed: https://chromium.googlesource.com/chromium/src/+/1882066650be756a0dc62dfdabf54bf1f3f9241b
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||