aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Glanzmann <thomas@glanzmann.de>2016-11-24 19:40:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-25 10:01:58 +0100
commit1232dbb8bd49b5502834ae9dd9f7ab1cb7a88b7b (patch)
treece193ca1d845f57b23a2b7001db7885b532345ce /docs
parent8ebc5cda8f4f53e26ce822cd831001cc2332945e (diff)
url: proxy: Use 443 as default port for https proxies
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/opts/CURLOPT_PROXYPORT.33
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PROXYPORT.3 b/docs/libcurl/opts/CURLOPT_PROXYPORT.3
index 2380e09ec..0e222896e 100644
--- a/docs/libcurl/opts/CURLOPT_PROXYPORT.3
+++ b/docs/libcurl/opts/CURLOPT_PROXYPORT.3
@@ -29,7 +29,8 @@ CURLOPT_PROXYPORT \- port number the proxy listens on
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYPORT, long port);
.SH DESCRIPTION
Pass a long with this option to set the proxy port to connect to unless it is
-specified in the proxy string \fICURLOPT_PROXY(3)\fP or uses the default one.
+specified in the proxy string \fICURLOPT_PROXY(3)\fP or uses 443 for https
+proxies and 1080 for all others as default.
While this accepts a 'long', the port number is 16 bit so it can't be larger
than 65535.