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

Unified Diff: net/http/http_proxy_client_socket_pool.cc

Issue 2678353003: Close idle H2 sockets when SpdySession is initialized. (Closed)
Patch Set: Self Created 3 years, 10 months 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
Index: net/http/http_proxy_client_socket_pool.cc
diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc
index 5d49616a436d68b0a788af1dc42a8fe88d37af04..8b0ab89b904ae3e71c0b47ed3cc41aa8efbb1407 100644
--- a/net/http/http_proxy_client_socket_pool.cc
+++ b/net/http/http_proxy_client_socket_pool.cc
@@ -260,6 +260,11 @@ void HttpProxyClientSocketPool::CloseIdleSockets() {
base_.CloseIdleSockets();
}
+void HttpProxyClientSocketPool::CloseIdleSocketsInGroup(
+ const std::string& group_name) {
+ base_.CloseIdleSocketsInGroup(group_name);
+}
+
int HttpProxyClientSocketPool::IdleSocketCount() const {
return base_.idle_socket_count();
}

Powered by Google App Engine
This is Rietveld 408576698