summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_session.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 18:22:24 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 18:22:24 +0000
commita7e38577aab81d13d9fc1dff5a8b6fe164ed2102 (patch)
tree03c3e30bd44f33a4317bbe5606f9c0e40c27ce40 /net/http/http_network_session.h
parentb846acde84543772099763542d9411eacbe684f9 (diff)
downloadchromium_src-a7e38577aab81d13d9fc1dff5a8b6fe164ed2102.zip
chromium_src-a7e38577aab81d13d9fc1dff5a8b6fe164ed2102.tar.gz
chromium_src-a7e38577aab81d13d9fc1dff5a8b6fe164ed2102.tar.bz2
Do not attempt to reuse active sockets after a socket pool flush (usually a network change).
Implements this functionality by adding an |id_| field to ClientSocketPoolBaseHelper that is incremented on each Flush(). BUG=45872 Review URL: http://codereview.chromium.org/2647003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r--net/http/http_network_session.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 64d302d..a6e10b1 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -84,10 +84,6 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
return http_auth_handler_factory_;
}
- // Replace the current socket pool with a new one. This effectively
- // abandons the current pool. This is only used for debugging.
- void ReplaceTCPSocketPool();
-
static void set_max_sockets_per_group(int socket_count);
static uint16 fixed_http_port();