diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 15:15:44 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 15:15:44 +0000 |
commit | 4baaf9d863a0eb967122ba704d8ba36aa77a81bb (patch) | |
tree | 6ace37392c8ffcf87dcbf8999cde7cc25235ce4f /net/url_request | |
parent | f4ed8992f0c31219b40b784e74e1d8938c63b27c (diff) | |
download | chromium_src-4baaf9d863a0eb967122ba704d8ba36aa77a81bb.zip chromium_src-4baaf9d863a0eb967122ba704d8ba36aa77a81bb.tar.gz chromium_src-4baaf9d863a0eb967122ba704d8ba36aa77a81bb.tar.bz2 |
ClientSocketPoolBaseHelper can try to read an invalid iterator. Fix that.
If we hit the backup socket timer and there is no pending request, then the
code still tries to create a backup socket using pending_requests.begin().
We change the code to cancel the backup socket timer when the pending_requests
hit zero. We also check before reading pending_requests.begin().
BUG=53860
TEST=ClientsocketPoolBaseTest.CancelBackupSocketWhenThereAreNoRequests
Review URL: http://codereview.chromium.org/3247007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
0 files changed, 0 insertions, 0 deletions