On Tue, 20 Sep 2022, Dan Fandrich via curl-library wrote:

How doesn't setting CURLOPT_IPRESOLVE fix this? Is it because Curl_ipv6works() is being called somewhere anyway, and it adds a 30 msec delay? So, if libcurl eliminated that call in the CURL_IPRESOLVE_V4 case, would it fix your problem?

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.

--

 / 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

Reply via email to