| Index: content/browser/download/parallel_download_job.cc
|
| diff --git a/content/browser/download/parallel_download_job.cc b/content/browser/download/parallel_download_job.cc
|
| index 6785faad990ea89293e5f8dc1ccda803a4e66e01..88a7541f8a472c6d177fd86909e965a3714317e1 100644
|
| --- a/content/browser/download/parallel_download_job.cc
|
| +++ b/content/browser/download/parallel_download_job.cc
|
| @@ -117,6 +117,12 @@ void ParallelDownloadJob::OnServerResponseError(
|
| // TODO(xingliu): Consider to let the original request to cover the full
|
| // content if the sub-requests get invalid response. Consider retry on certain
|
| // error.
|
| + if (worker->length() == DownloadSaveInfo::kLengthFullContent &&
|
| + reason ==
|
| + DownloadInterruptReason::DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE) {
|
| + SetPotentialFileLength(worker->offset());
|
| + return;
|
| + }
|
| DownloadJob::Interrupt(reason);
|
| }
|
|
|
|
|