commit | d1bc206e4635403d342e40d6e04845c029f1ada7 | [log] [tgz] |
---|---|---|
author | estark <estark@chromium.org> | Sat Jun 20 00:44:39 2015 |
committer | Commit bot <commit-bot@chromium.org> | Sat Jun 20 00:45:24 2015 |
tree | 2ca665031d6d2a4e1088cd82bd97f0ae9075769b | |
parent | e55d3b22de2ff1689bc7b2ef579b5db37eacd637 [diff] |
Resolve RFC 6761 localhost names to loopback Per section 6.3, HostResolverImpl should recognize localhost names as special and resolve as loopback without sending the query over the network. This CL also modifies IsLocalhost() to allow trailing dots (bug 460331), so that IsLocalhost() can be used to detect localhost names that should resolve to loopback. BUG=496479,460331 Review URL: https://codereview.chromium.org/1177933002 Cr-Commit-Position: refs/heads/master@{#335402}