mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:13:39 +03:00
url: proxy: Use 443 as default port for https proxies
This commit is contained in:
parent
8ebc5cda8f
commit
1232dbb8bd
3 changed files with 11 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue