]> git.ipfire.org Git - thirdparty/curl.git/commit
hostip: on macOS avoid DoH when given a numerical IP address
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 May 2020 09:07:06 +0000 (11:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 May 2020 15:37:39 +0000 (17:37 +0200)
commit67d2802deabd179552bf957d344b7dd74cbb64d8
treef87adaf9a9c3dcf3ed0a6461d2d621f489839b2a
parent96a822f6e2de3df00c94bd74a5981032678da70a
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
lib/doh.c
lib/hostip.c
lib/urldata.h