From d510a78cd1aef9c2bdc692c79bae4a89f4851a98 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Mon, 17 May 2010 05:35:06 +0000 Subject: This is roughly a reland of r43908, although I had to rewrite a fair chunk since code's changed a lot. I've changed it so as not to flush the host resolver too. I suspect there might have been a bug there. I was unable to reproduce the crash here on network change, so I think either that fixed it or something else changed under the hood. In any case, I want to reland this and see if anyone encounters any problems with it. BUG=40455,40457 Review URL: http://codereview.chromium.org/2114004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47395 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http/http_cache.cc') diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index d6624be..5f3c0dc 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -411,7 +411,7 @@ void HttpCache::CloseCurrentConnections() { session->tcp_socket_pool()->CloseIdleSockets(); if (session->spdy_session_pool()) session->spdy_session_pool()->CloseAllSessions(); - session->ReplaceTCPSocketPool(); + session->Flush(); } } -- cgit v1.1