1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 10:51:49 -05:00
Lucas Clemente Vella 84d2839740
CURLOPT_IPRESOLVE: preventing wrong IP version from being used
In some situations, it was possible that a transfer was setup to
use an specific IP version, but due do DNS caching or connection
reuse, it ended up using a different IP version from requested.

This commit changes the effect of CURLOPT_IPRESOLVE from simply
restricting address resolution to preventing the wrong connection
type being used, when choosing a connection from the pool, and
to restricting what addresses could be used when establishing
a new connection.

It is important that all addresses versions are resolved, even if
not used in that transfer in particular, because the result is
cached, and could be useful for a different transfer with a
different CURLOPT_IPRESOLVE setting.

Closes #6853
2021-05-20 16:58:31 +02:00
..
2020-10-25 23:08:54 +01:00
2021-04-22 09:05:53 +02:00
2021-02-18 08:47:27 +01:00
2020-11-04 23:59:47 +01:00
2020-12-12 09:59:28 -08:00
2020-11-04 23:59:47 +01:00
2021-04-19 08:22:16 +02:00
2020-01-16 11:55:56 +01:00
2020-11-04 23:59:47 +01:00
2021-04-19 08:22:16 +02:00
2020-10-15 15:47:38 +02:00
2020-12-12 09:59:28 -08:00
2020-11-04 23:59:47 +01:00
2021-01-11 15:12:25 +01:00
2021-05-03 17:27:35 +02:00
2020-11-04 23:59:47 +01:00
2021-04-22 09:05:53 +02:00
2020-11-04 23:59:47 +01:00
2020-09-21 11:02:32 +02:00
2019-11-28 12:58:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-14 09:49:17 +01:00
2021-04-30 08:27:37 +02:00
2021-02-25 09:28:00 +01:00
2020-11-04 23:59:47 +01:00
2021-04-13 14:32:30 +02:00
2021-02-05 08:46:11 +01:00
2021-05-09 00:13:37 +02:00

curl logo

Documentation

You'll find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you'd rather see the rendered version of the documentation, check out the curl website's documentation section for general curl stuff or the libcurl section for libcurl related documentation.