summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r--net/http/http_cache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index bffd97a..585f9b5 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -415,10 +415,9 @@ void HttpCache::CloseCurrentConnections() {
static_cast<net::HttpNetworkLayer*>(network_layer_.get());
HttpNetworkSession* session = network->GetSession();
if (session) {
- session->tcp_socket_pool()->CloseIdleSockets();
+ session->tcp_socket_pool()->Flush();
if (session->spdy_session_pool())
session->spdy_session_pool()->CloseAllSessions();
- session->ReplaceTCPSocketPool();
}
}