Remove broken alternative service from the map upon expiration.
commitff78689d2f2421a9d581bdaf12090f78bedf0541
authorbnc <bnc@chromium.org>
Thu, 23 Jul 2015 10:39:46 +0000 (23 03:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 23 Jul 2015 10:40:33 +0000 (23 10:40 +0000)
treef7f59e03482ba54e2db701f87cb11503e2021ec4
parent6f2bce27d46c0fd56d26143acdfdcdb1a7fc463f
Remove broken alternative service from the map upon expiration.

When a broken alternative service expires, its every occurrence should be removed from the map.  Before this CL, only a bogus call to ClearAlternativeServices() happened.

As of Patch Set 8, I locally verified that the test fails without the change to http_server_properties_impl.cc, but passes with the change.

BUG=505413

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

Cr-Commit-Position: refs/heads/master@{#340067}
net/http/http_server_properties_impl.cc
net/http/http_server_properties_impl_unittest.cc