Fix crashes stemming from ClientSocketPoolBase::ReleaseSocket().
BUG=http://crbug.com/13908
TEST=Go to a page that loads lots of content from the same host, and then triggers a redirect (which will cancel the requests).  A good example is http://photo.sora.net/album/theme/index.php.  Unittest coverage provided in TCPClientSocketPoolTest.CancelActiveRequestWithPendingRequests.

Review URL: http://codereview.chromium.org/131023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18718 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed