DescriptionFix issues and feature polishing for parallel download.
1. Fix a bug in ParallelDownloadJob that the initial request may
generate a ReceivedSlice, and currently it will hit a DCHECK.
2. Cover the edge cases that there might be holes before the initial
request offset, now we also create requests for them, but don't chunk
more slices in this scenario. (Talked offline, we might not need this logic when some later CL checked in, but leave this here for now.)
3. When chunk into smaller slices, also consider minimum slice size
Finch configuration. So we won't have extremely small new slices.
BUG=644352
Review-Url: https://codereview.chromium.org/2783473002
Cr-Commit-Position: refs/heads/master@{#460858}
Committed: https://chromium.googlesource.com/chromium/src/+/d6d05e2a6461b0886140633e9a98a01e7c780dd5
Patch Set 1 #Patch Set 2 : Fix browser_test. #Patch Set 3 : Rebase. #
Total comments: 2
Messages
Total messages: 19 (14 generated)
|