curl / Mailing Lists / curl-library / Single Mail
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: IPv6 resolution problems for IPv4 resolve mode

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 20 May 2022 16:13:56 +0200 (CEST)

On Mon, 9 May 2022, Dmitry Karpov via curl-library wrote:

> If this approach is agreed upon, I have implementation for these changes and
> can create a PR.

The most recent change in this area that I can recall introduced the
unconditional request for both families even if you ask for IPv4 or IPv6
specifically for a specific reason: The DNS cache.

That user had an application that wanted to first create an IPv4 (-only)
connection and then an IPv6 (-only) one (separately from the previous
connection). That requires that the DNS cache keeps both families even if the
transfer itself is done using only one of them.

I presume this is what causing you problems?

-- 
  / 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.haxx.se/mail/etiquette.html
Received on 2022-05-20