DescriptionAdd test for canonical host alternative service.
If a canonical server advertises an alternative service without an explicit
hostname, or an alternative protocol, then it is implied that the same
alternative service works on other hosts. This CL adds a test to verify that if
SetAlternativeService is called with an empty host (denoting no explicit
hostname in the alternative service advertisement), then
GetAlternativeService(origin) returns alternative services with host ==
origin.host(). This will be important once HttpServerProperties starts storing
alternative services with hostname to make sure current behavior is preserved.
BUG=392576
Committed: https://crrev.com/0186dcd1238a84cfe71134ee24e3602ff0404af6
Cr-Commit-Position: refs/heads/master@{#321976}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|