|
Anti-DDoS enhancements: Log to net log, UMA stats, improved policy.
Count only certain error codes as failures. Don't count malformed body
for codes already counted failures. Start with fresh entry when
outdated, which makes policy slightly less aggressive.
Add registration/unregistration to NetworkChangeNotifier, and reset
throttling state on network changes, to avoid degenerate corner cases.
Add UMA stats for throttling, and unit tests for them.
Add hash-location-only URL to unit test.
Enable testing of AJAX behavior via backoff_server.
BUG= 83775
TEST=net_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87056
Total comments: 28
Total comments: 17
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+702 lines, -106 lines) |
Patch |
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector.h
|
View
|
1
2
3
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector.cc
|
View
|
|
3 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/gaia/gaia_oauth_client.cc
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/url_fetcher.cc
|
View
|
1
2
|
3 chunks |
+21 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/url_fetcher_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/cloud_print_url_fetcher.cc
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/base/backoff_entry.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/base/backoff_entry.cc
|
View
|
1
2
3
|
6 chunks |
+30 lines, -20 lines |
0 comments
|
Download
|
 |
M |
net/base/backoff_entry_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log_event_type_list.h
|
View
|
1
2
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log_source_type_list.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/tools/testserver/backoff_server.py
|
View
|
1
2
3
4
|
2 chunks |
+67 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_entry.h
|
View
|
1
2
3
|
5 chunks |
+29 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_entry.cc
|
View
|
1
2
3
|
12 chunks |
+201 lines, -23 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_entry_interface.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_manager.h
|
View
|
1
2
3
|
5 chunks |
+33 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_manager.cc
|
View
|
1
2
3
|
7 chunks |
+74 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_unittest.cc
|
View
|
1
2
|
16 chunks |
+122 lines, -11 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|