diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 19:49:43 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 19:49:43 +0000 |
commit | c6781deb1f4c33bdefe4126b29052040571f3a27 (patch) | |
tree | afa4214bad63c2bc306d04394bebb5a437698053 /net/base | |
parent | 08eafdae4119847cbfda59f4ee5c1288049a8b23 (diff) | |
download | chromium_src-c6781deb1f4c33bdefe4126b29052040571f3a27.zip chromium_src-c6781deb1f4c33bdefe4126b29052040571f3a27.tar.gz chromium_src-c6781deb1f4c33bdefe4126b29052040571f3a27.tar.bz2 |
net: perform a non-A DNS lookup for HTTPS hosts.
Since SSLHostInfo is enabled by default now, this will cause a DNS
lookup for a random RR type (13172) for each HTTPS host. (Although many
of these lookups will hit the in-process cache. Also, this won't do
anything on non-Linux machines because I haven't gotten the DNS lookup
code working on them yet.)
At some point in the future we'll probably want to do these lookups in
order to get information for certificate validation. This change just
exists so that we can measure how long these lookups take.
BUG=none
TEST=none
http://codereview.chromium.org/6041004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/dns_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/dns_util.h b/net/base/dns_util.h index 60bfc3f..1120140 100644 --- a/net/base/dns_util.h +++ b/net/base/dns_util.h @@ -36,6 +36,7 @@ static const uint16 kDNS_DS = 43; static const uint16 kDNS_RRSIG = 46; static const uint16 kDNS_DNSKEY = 48; static const uint16 kDNS_ANY = 0xff; +static const uint16 kDNS_CAA = 13172; // temporary, not IANA static const uint16 kDNS_TESTING = 0xfffe; // in private use area. // http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml |