From ce5463e60c8957fd4ee41266e38c4452b3e91746 Mon Sep 17 00:00:00 2001 From: Cameron Will Date: Mon, 10 Jan 2022 21:39:42 -0500 Subject: 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 --- docs/libcurl/opts/CURLOPT_RESOLVE.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_RESOLVE.3 b/docs/libcurl/opts/CURLOPT_RESOLVE.3 index 33ef90385..d72dadd00 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) { -- cgit v1.2.1