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. |