Set alternative service even if it is broken.
commiteb2e6601f1851335bbef50127805d5c9ed4f92db
authorbnc <bnc@chromium.org>
Thu, 25 Jun 2015 14:28:28 +0000 (25 07:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Jun 2015 14:28:56 +0000 (25 14:28 +0000)
treef77aacbe51be70bcc9e3ea4739ffdf9a7dfea852
parent7e4f2d193d4bba7e6ad3117bfe5d7913bc0ddff1
Set alternative service even if it is broken.

Modify HttpServerPropertiesImpl::SetAlternativeService() not to ignore a broken
alternative service.  This is consistent with the current behavior of keeping
broken alternative services in the mapping, and of refusing to use the
alternative service of a canonical host if the origin has an alternative
service, even if it is broken.  Both of these show that broken alternative
services have a significance and thus should not be ignored as input of
SetAlternativeService.

BUG=392575

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

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