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

Issue 5961008: Give user the ability to disable the URL request throttler:... (Closed)

Created:
10 years ago by yzshen1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, eroman
Visibility:
Public.

Description

Give user the ability to disable the URL request throttler: - Support the command line switch --disable-enforced-throttling. With this switch specified, the URL request throttler won't reject outgoing requests during the back-off peroid. Please note that in this case we still keep track of the back-off period, since we need it to determine retry intervals. - Add a more detailed error page description for net::ERR_TEMPORARILY_THROTTLED. BUG=66062 TEST=Without --disable-enforced-throttling switch: (1) Type in the addresss bar a URL which is expected to return 5XX. (2) Keep clicking the "reload" button. (3) After a few clicks, Chrome displays an error page explaining why a net::ERR_TEMPORARILY_THROTTLED error occurs. With --disable-enforced-throttling switch: Following step (1) and (2) described above won't result in a net::ERR_TEMPORARILY_THROTTLED error page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70022

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/localized_error.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M net/url_request/url_request_throttler_manager.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M net/url_request/url_request_throttler_manager.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
yzshen1
10 years ago (2010-12-22 21:31:25 UTC) #1
willchan no longer on Chromium
LGTM http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd#newcode6258 chrome/app/generated_resources.grd:6258: It is likely that the server hosting the ...
10 years ago (2010-12-22 22:37:26 UTC) #2
Jói
LGTM with a couple of nits. http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd#newcode6257 chrome/app/generated_resources.grd:6257: <message name="IDS_ERRORPAGES_SUMMARY_TEMPORARILY_THROTTLED" desc="Summary ...
10 years ago (2010-12-22 22:44:48 UTC) #3
yzshen1
Thanks! http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5961008/diff/9001/chrome/app/generated_resources.grd#newcode6257 chrome/app/generated_resources.grd:6257: <message name="IDS_ERRORPAGES_SUMMARY_TEMPORARILY_THROTTLED" desc="Summary in the error page when ...
10 years ago (2010-12-22 23:04:35 UTC) #4
Jói
LGTM
10 years ago (2010-12-23 12:23:11 UTC) #5
Dashu
9 years, 11 months ago (2011-01-24 14:40:09 UTC) #6
On 2010/12/23 12:23:11, Jói wrote:
> LGTM

Why oh why is this activated for localhost sites?

Powered by Google App Engine
This is Rietveld 408576698