Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(895)

Unified Diff: net/http/http_network_session.cc

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_change_notifier.h ('k') | net/http/http_pipelined_connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 50a18c21aa35c63ae23d7d41b4319c843e557b17..daace4365069b059e45986a2b795113f00fa6617 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -172,9 +172,9 @@ Value* HttpNetworkSession::SpdySessionPoolInfoToValue() const {
}
void HttpNetworkSession::CloseAllConnections() {
- normal_socket_pool_manager_->FlushSocketPools();
- websocket_socket_pool_manager_->FlushSocketPools();
- spdy_session_pool_.CloseCurrentSessions();
+ normal_socket_pool_manager_->FlushSocketPoolsWithError(ERR_ABORTED);
+ websocket_socket_pool_manager_->FlushSocketPoolsWithError(ERR_ABORTED);
+ spdy_session_pool_.CloseCurrentSessions(ERR_ABORTED);
}
void HttpNetworkSession::CloseIdleConnections() {
« no previous file with comments | « net/base/network_change_notifier.h ('k') | net/http/http_pipelined_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698