diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-02 14:55:04 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-02 14:55:04 +0000 |
commit | d4ae5794b83ca02e76a5f527ca7ac8a2fdf16d10 (patch) | |
tree | a3d860b8341bae5da04fca8c089735ce66c97eb7 /net/url_request/url_request_throttler_entry_interface.h | |
parent | b0e8c47258f143ea1486ed492ee717fce664e2f4 (diff) | |
download | chromium_src-d4ae5794b83ca02e76a5f527ca7ac8a2fdf16d10.zip chromium_src-d4ae5794b83ca02e76a5f527ca7ac8a2fdf16d10.tar.gz chromium_src-d4ae5794b83ca02e76a5f527ca7ac8a2fdf16d10.tar.bz2 |
Adds unit tests that attempt to verify the following through simulation:
a) That a server experiencing overload will actually benefit from the
anti-DDoS throttling logic, i.e. that its traffic spike will subside
and be distributed over a longer period of time;
b) That "well-behaved" clients of a server under DDoS attack actually
benefit from the anti-DDoS throttling logic, i.e. they get a better
level of service during the attack; and
c) That the approximate increase in "perceived downtime" introduced by
anti-DDoS throttling for various different actual downtimes is what
we expect it to be.
BUG=84210
TEST=net_unittests --gtest_filter=*Simulation*
Review URL: http://codereview.chromium.org/7082005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_throttler_entry_interface.h')
-rw-r--r-- | net/url_request/url_request_throttler_entry_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request_throttler_entry_interface.h b/net/url_request/url_request_throttler_entry_interface.h index a910e1a..86feb9f 100644 --- a/net/url_request/url_request_throttler_entry_interface.h +++ b/net/url_request/url_request_throttler_entry_interface.h @@ -6,6 +6,8 @@ #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_INTERFACE_H_ #pragma once +#include <string> + #include "base/basictypes.h" #include "base/memory/ref_counted.h" #include "base/time.h" |