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

Unified Diff: net/socket/websocket_transport_client_socket_pool.h

Issue 436493002: Handle multiple simultanous wss: connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/interator/iterator/ Created 6 years, 4 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/socket/websocket_transport_client_socket_pool.h
diff --git a/net/socket/websocket_transport_client_socket_pool.h b/net/socket/websocket_transport_client_socket_pool.h
index d0d2d9df22637ae28a5925690548bc7e4ae8407a..74b8f784802fcde533e7873eafcbbd181aeb7ad2 100644
--- a/net/socket/websocket_transport_client_socket_pool.h
+++ b/net/socket/websocket_transport_client_socket_pool.h
@@ -127,6 +127,9 @@ class NET_EXPORT_PRIVATE WebSocketTransportClientSocketPool
// Allow another connection to be started to the IPEndPoint that this |handle|
// is connected to. Used when the WebSocket handshake completes successfully.
+ // This only works if the socket is connected, however the caller does not
+ // need to explicitly check for this. Instead, ensure that dead sockets are
+ // returned to ReleaseSocket() in a timely fashion.
static void UnlockEndpoint(ClientSocketHandle* handle);
// ClientSocketPool implementation.
« no previous file with comments | « net/socket/websocket_endpoint_lock_manager_unittest.cc ('k') | net/socket/websocket_transport_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698