From: Cameron Will Date: Tue, 11 Jan 2022 02:39:42 +0000 (-0500) Subject: CURLOPT_RESOLVE.3: change example port to 443 X-Git-Tag: curl-7_82_0~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce5463e60c8957fd4ee41266e38c4452b3e91746;p=thirdparty%2Fcurl.git 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 --- diff --git a/docs/libcurl/opts/CURLOPT_RESOLVE.3 b/docs/libcurl/opts/CURLOPT_RESOLVE.3 index 33ef90385f..d72dadd001 100644 --- a/docs/libcurl/opts/CURLOPT_RESOLVE.3 +++ b/docs/libcurl/opts/CURLOPT_RESOLVE.3 @@ -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) {