Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Issue 2897743002: Limit parallel download to http GET requests. (Closed)

Created:
3 years, 7 months ago by xingliu
Modified:
3 years, 7 months ago
CC:
chromium-reviews, jam, David Trainor- moved to gerrit, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit parallel download to http GET requests. Currently we have seen 405 error code in parallel download metrics. And parallel download should be only used in GET requests since we don't know how the server uses POST body data. BUG=724690 Review-Url: https://codereview.chromium.org/2897743002 Cr-Commit-Position: refs/heads/master@{#474823} Committed: https://chromium.googlesource.com/chromium/src/+/16ca9f743af85a9194b63b4585636d59b7c6bf53

Patch Set 1 #

Patch Set 2 : Also check url scheme. #

Total comments: 2

Patch Set 3 : Work on feedback. #

Total comments: 2

Patch Set 4 : Add histogram also in this patch. #

Patch Set 5 : enum.xml. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M content/browser/download/download_create_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_create_info.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/download/download_job_factory.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M content/browser/download/download_request_core.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_stats.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/parallel_download_job.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
xingliu
Hi, PTAL, thanks. This is a fix based on metric analysis.
3 years, 7 months ago (2017-05-19 23:27:58 UTC) #2
David Trainor- moved to gerrit
lgtm % nit https://codereview.chromium.org/2897743002/diff/20001/content/browser/download/download_job_factory.cc File content/browser/download/download_job_factory.cc (right): https://codereview.chromium.org/2897743002/diff/20001/content/browser/download/download_job_factory.cc#newcode42 content/browser/download/download_job_factory.cc:42: net::HttpResponseInfo::CONNECTION_INFO_HTTP1_1; Pull out to a pool.
3 years, 7 months ago (2017-05-22 21:15:14 UTC) #11
qinmin
https://codereview.chromium.org/2897743002/diff/40001/content/browser/download/download_job_factory.cc File content/browser/download/download_job_factory.cc (right): https://codereview.chromium.org/2897743002/diff/40001/content/browser/download/download_job_factory.cc#newcode46 content/browser/download/download_job_factory.cc:46: bool is_parallelizable = has_strong_validator && create_info.accept_range && you need ...
3 years, 7 months ago (2017-05-22 21:24:50 UTC) #14
xingliu
Added an enum for metric. +isherman@, could you please take a look at change in ...
3 years, 7 months ago (2017-05-22 22:01:50 UTC) #16
Ilya Sherman
On 2017/05/22 22:01:50, xingliu wrote: > Added an enum for metric. > > +isherman@, could ...
3 years, 7 months ago (2017-05-22 22:55:33 UTC) #19
qinmin
lgtm
3 years, 7 months ago (2017-05-23 16:50:31 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2897743002/80001
3 years, 7 months ago (2017-05-25 20:41:41 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 22:33:10 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/16ca9f743af85a9194b63b458563...

Powered by Google App Engine
This is Rietveld 408576698