Fix bug that would create unnecessary ConnectJobs in some cases.
commit6be122fb693fe8f2a5b150a12bddd5c85160b7a6
authormmenke <mmenke@chromium.org>
Mon, 9 Mar 2015 22:22:47 +0000 (9 15:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Mar 2015 22:23:15 +0000 (9 22:23 +0000)
tree1a363bda222f4978a3f16ad3e3071f17c2388cf5
parente1af51dc64c3bfd83d855dbdbf17d8bd4563bae5
Fix bug that would create unnecessary ConnectJobs in some cases.

When a ConnectJob failed and there was another socket request pending
for the same group, a new ConnectJob would always be created, even if
the pending request already had its own ConnectJob.

BUG=463960

Review URL: https://codereview.chromium.org/981643002

Cr-Commit-Position: refs/heads/master@{#319750}
net/socket/client_socket_pool_base.cc
net/socket/client_socket_pool_base.h
net/socket/client_socket_pool_base_unittest.cc