Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 20 Sep 2022 18:55:27 -0700
On Tue, Sep 20, 2022 at 11:49:08PM +0000, Dmitry Karpov via curl-library wrote:
> No matter how difficult it is (and maybe not always possible) to do it in multiple places, setting IP_RESOLVE option doesn't solve the problem which I am trying to resolve via this proposal.
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?
Date: Tue, 20 Sep 2022 18:55:27 -0700
On Tue, Sep 20, 2022 at 11:49:08PM +0000, Dmitry Karpov via curl-library wrote:
> No matter how difficult it is (and maybe not always possible) to do it in multiple places, setting IP_RESOLVE option doesn't solve the problem which I am trying to resolve via this proposal.
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?
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-09-21