curl/include/curl
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
..
.gitignore includes: remove curl/curlbuild.h and curl/curlrules.h 2017-06-14 11:07:33 +02:00
Makefile.am curl.se: new home 2020-11-04 23:59:47 +01:00
curl.h CURLOPT_IPRESOLVE: preventing wrong IP version from being used 2021-05-20 16:58:31 +02:00
curlver.h RELEASE-NOTES: synced 2021-04-15 08:24:19 +02:00
easy.h curl.se: new home 2020-11-04 23:59:47 +01:00
mprintf.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
multi.h curl.se: new home 2020-11-04 23:59:47 +01:00
options.h curl.se: new home 2020-11-04 23:59:47 +01:00
stdcheaders.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
system.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
typecheck-gcc.h typecheck-gcc: make the ssl-ctx-cb check use SSL_CTX pointers 2021-04-07 00:16:40 +02:00
urlapi.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00