CURLOPT_PORT.md: use stronger language

This option should not be used.

Closes #21886
This commit is contained in:
Daniel Stenberg 2026-06-07 00:09:30 +02:00
parent fbcf10ab84
commit c4c12843df
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -27,8 +27,8 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
# DESCRIPTION
We discourage using this option since its scope is not obvious and hard to
predict. Set the preferred port number in the URL instead.
We strongly discourage using this unreliable option since its scope is not
obvious and hard to predict. Set the preferred port number in the URL instead.
This option sets *number* to be the remote port number to connect to,
instead of the one specified in the URL or the default port for the used