New issue
Advanced search Search tips

Issue 702705 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

content-length fix for parallel download.

Project Member Reported by xingliu@chromium.org, Mar 17 2017

Issue description

Currently we assume content-length is the full size of the download file, but it's actually the length of the current response body.

I.e, if we request 100-, the content length of this response is 100 bytes smaller than the full size of the file.

We need to fix the function to chunk the file and adjust the unit tests, since it's based on a incorrect assumption.

Optionally it will be good to see if other code in download system has the same issue.
 
Components: UI>Browser>Downloads UI
Status: Fixed (was: Assigned)
This is fixed along with the cl https://codereview.chromium.org/2742093002/.

Sign in to add a comment