RE: IPv6 resolution problems for IPv4 resolve mode

2022-07-11 Thread Dmitry Karpov via curl-library
I like the idea of adding additional bit to CURLOPT_IPRESOLVE, but actually I think about the "Auto" or "Dual" mode, which should probably provide the current "both" IPv4 and IPv6 instead of the "Also" mode enforcing certain name resolution (i.e. IPv4),. And probably the "auto" mode should not

Re: IPv6 resolution problems for IPv4 resolve mode

2022-07-11 Thread Timothe Litt via curl-library
The terminology and behaviors here are conflating two very different things: - What address types are added to the cache - What addresses are used for a connection. The name IPRESOLVE_* implies that it controls resolution, but the description says it controls "what kind of IP addresses to use