mirror of
https://github.com/curl/curl.git
synced 2026-08-05 13:36:14 +03:00
CURLOPT_RESOLVE.3: change example port to 443
83cc966 changed documentation from using http to https. However,
CURLOPT_RESOLVE being set to port 80 in the documentation means that it
isn't valid for the new URL. Update to 443.
Closes https://github.com/curl/curl/pull/8258
This commit is contained in:
parent
e1e9d5af73
commit
ce5463e60c
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ All
|
|||
.nf
|
||||
CURL *curl;
|
||||
struct curl_slist *host = NULL;
|
||||
host = curl_slist_append(NULL, "example.com:80:127.0.0.1");
|
||||
host = curl_slist_append(NULL, "example.com:443:127.0.0.1");
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue