On Wed, 21 Sep 2022, Daniel Stenberg via curl-library wrote:
Yes. It sounds like we should be able to fix this by "lazily" do the check first when it is actually necessary to know. If set to CURL_IPRESOLVE_V4 there's no need to know.
Whatever we decide here, I think this is a good idea so I went ahead and made a pull-request with a change like this.
See https://github.com/curl/curl/pull/9553 -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html