Allow for an existing bad proxy to be given a new retry delay.
commit08141d98705bc3a7ad0e53e64408adbf065eb554
authorsclittle <sclittle@chromium.org>
Fri, 26 Jun 2015 20:51:15 +0000 (26 13:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 20:51:47 +0000 (26 20:51 +0000)
treec8d213aa52a8d2621b603160d2f6d8cfcd849e29
parent3c331898d5b6f37808dee0216f7012d988dc1525
Allow for an existing bad proxy to be given a new retry delay.

Before this CL, any proxy that was previously marked as bad could not be
assigned a different retry delay, and could only be marked as bad for
the previous retry delay.

This CL changes the proxy retry map update logic to replace the existing
bad proxy retry info if the new retry time is later than the existing
retry time.

BUG=500738

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

Cr-Commit-Position: refs/heads/master@{#336451}
net/proxy/proxy_list.cc
net/proxy/proxy_list_unittest.cc