diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-05-08 14:28:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-05-08 14:58:05 +0200 |
commit | 5d36bdf490af6aeab3796660a044e1c0e1620ecc (patch) | |
tree | f16bd720b3d82fe49ba0ca71a3b722c605281214 | |
parent | 9ed7d56e044f5aa1b2928ccde6245d0162cf3d0a (diff) | |
download | curl-5d36bdf490af6aeab3796660a044e1c0e1620ecc.tar.gz |
CURLOPT_IPRESOLVE.3: clarify that this for host names, not IP addresses
Reported-by: Harry Sintonen
Closes #11087
-rw-r--r-- | docs/libcurl/opts/CURLOPT_IPRESOLVE.3 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_IPRESOLVE.3 b/docs/libcurl/opts/CURLOPT_IPRESOLVE.3 index 353796977..ec9d6b7c6 100644 --- a/docs/libcurl/opts/CURLOPT_IPRESOLVE.3 +++ b/docs/libcurl/opts/CURLOPT_IPRESOLVE.3 @@ -34,8 +34,13 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IPRESOLVE, long resolve); .SH DESCRIPTION Allows an application to select what kind of IP addresses to use when establishing a connection or choosing one from the connection pool. This is -interesting when using host names that resolve addresses using more than -one version of IP. The allowed values are: +interesting when using host names that resolve to more than one version of IP. + +If the URL provided for a transfer contains a numerical IP version as a host +name, this option will not override or prohibit libcurl from using that IP +version. + +Available values for this option are: .IP CURL_IPRESOLVE_WHATEVER Default, can use addresses of all IP versions that your system allows. .IP CURL_IPRESOLVE_V4 |