]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_IPRESOLVE.3: clarify that this for host names, not IP addresses
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 May 2023 12:28:38 +0000 (14:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 May 2023 12:58:05 +0000 (14:58 +0200)
Reported-by: Harry Sintonen
Closes #11087

docs/libcurl/opts/CURLOPT_IPRESOLVE.3

index 353796977b3be1b0c2508d3faa22cde83447e296..ec9d6b7c6feedcb80796876ff1f3cca2fd9b7731 100644 (file)
@@ -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