diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 11:07:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 17:37:39 +0200 |
commit | 67d2802deabd179552bf957d344b7dd74cbb64d8 (patch) | |
tree | f87adaf9a9c3dcf3ed0a6461d2d621f489839b2a /lib/urldata.h | |
parent | 96a822f6e2de3df00c94bd74a5981032678da70a (diff) | |
download | curl-67d2802deabd179552bf957d344b7dd74cbb64d8.tar.gz |
hostip: on macOS avoid DoH when given a numerical IP address
When USE_RESOLVE_ON_IPS is set (defined on macOS), it means that
numerical IP addresses still need to get "resolved" - but not with DoH.
Reported-by: Viktor Szakats
Fixes #5454
Closes #5459
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index f31fd6df9..d1da3100f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -480,6 +480,7 @@ struct ConnectBits { BIT(tls_enable_npn); /* TLS NPN extension? */ BIT(tls_enable_alpn); /* TLS ALPN extension? */ BIT(connect_only); + BIT(doh); }; struct hostname { |