1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 09:51:46 -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-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-04-20 22:38:05 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-12-26 23:54:25 +01:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-20 10:01:19 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-08-24 08:41:48 +02:00
2020-08-24 08:41:48 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-09-02 09:27:51 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2019-11-25 15:45:56 +01:00
2020-08-15 00:10:36 +02:00
2021-04-09 09:40:56 +02:00
2021-05-03 17:11:01 +02:00
2021-04-22 09:05:53 +02:00
2019-10-21 17:28:48 +02:00
2018-05-31 11:27:16 +02:00
2021-02-09 00:28:19 +01:00