diff options
author | ziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 16:34:26 +0000 |
---|---|---|
committer | ziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 16:34:26 +0000 |
commit | 78a258a24ae6d4b764b5616cc639367fb3a573b7 (patch) | |
tree | 87dbb4ae0e2465b29c4829961490274a8f8cd803 /net/http/http_network_session.h | |
parent | 695092fd7614c257866347f049e28ec327d7a3d3 (diff) | |
download | chromium_src-78a258a24ae6d4b764b5616cc639367fb3a573b7.zip chromium_src-78a258a24ae6d4b764b5616cc639367fb3a573b7.tar.gz chromium_src-78a258a24ae6d4b764b5616cc639367fb3a573b7.tar.bz2 |
A/B test for measuring effect of number of proxy connections.
Currently, we limit the number of connections per proxy server to 32 (raised
from 15). Firefox uses 8. A low value keeps from overloading the proxy servers;
at the same time, some users may hit the limit (since we use the same number
for both HTTP and SOCKS proxies). This experiment selects a different number at
browser launch (from the set [8, 16, 32, 64]), and attempts to look at certain
stats to get a clearer picture of how this affects the user.
BUG=44501
r=jar
Review URL: http://codereview.chromium.org/3033045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r-- | net/http/http_network_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index b1c269d..fdda68d 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -102,6 +102,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession>, } static void set_max_sockets_per_group(int socket_count); + static void set_max_sockets_per_proxy_server(int socket_count); #ifdef UNIT_TEST void FlushSocketPools() { |