diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 22:00:10 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 22:00:10 +0000 |
commit | 6a95b150b45b1bef099c4d221e8ff3a82d4540fa (patch) | |
tree | af23390f1f2a89e4c4e1a3bd7e997b7ce20c1109 /net/socket/tcp_client_socket_pool.h | |
parent | 992cc78bb6e0b53e793c870b359dbd22f9151b6e (diff) | |
download | chromium_src-6a95b150b45b1bef099c4d221e8ff3a82d4540fa.zip chromium_src-6a95b150b45b1bef099c4d221e8ff3a82d4540fa.tar.gz chromium_src-6a95b150b45b1bef099c4d221e8ff3a82d4540fa.tar.bz2 |
Fix crash in ClientSocketPoolBase.
If a ConnectingSocket fails, we need to try to process a pending request.
BUG=http://crbug.com/14814
TEST=See bug for repro steps.
Review URL: http://codereview.chromium.org/146037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.h')
-rw-r--r-- | net/socket/tcp_client_socket_pool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h index e237be5..421ea9a 100644 --- a/net/socket/tcp_client_socket_pool.h +++ b/net/socket/tcp_client_socket_pool.h @@ -240,6 +240,9 @@ class ClientSocketPoolBase : public base::RefCounted<ClientSocketPoolBase> { static void CheckSocketCounts(const Group& group); + // Remove an active socket. + void RemoveActiveSocket(const std::string& group_name, Group* group); + // Process a request from a group's pending_requests queue. void ProcessPendingRequest(const std::string& group_name, Group* group); |