summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_session.h
diff options
context:
space:
mode:
authorziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 22:55:46 +0000
committerziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 22:55:46 +0000
commitbba3823dbc18cb50d6c43a9777f21f052b81dca7 (patch)
treeff838850ac8e6b8b7fc0cbdd2aac7d60caee0357 /net/http/http_network_session.h
parent27c2e49c1fb5ea3869fce54c4ff49a674f842173 (diff)
downloadchromium_src-bba3823dbc18cb50d6c43a9777f21f052b81dca7.zip
chromium_src-bba3823dbc18cb50d6c43a9777f21f052b81dca7.tar.gz
chromium_src-bba3823dbc18cb50d6c43a9777f21f052b81dca7.tar.bz2
Bad interaction between 2 A/B experiments
There is a 1/20 chance that the max number of sockets per group be greater than the max number of sockets per proxy server. This would result in hitting a DCHECK in client_socket_pool_base.cc:145. This CL attempts to circumvent that event. r=jar Review URL: http://codereview.chromium.org/3044051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r--net/http/http_network_session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index fdda68d..650a831 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -101,6 +101,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession>,
return network_delegate_;
}
+ static int max_sockets_per_group();
static void set_max_sockets_per_group(int socket_count);
static void set_max_sockets_per_proxy_server(int socket_count);