diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_PRE_PROXY.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_PRE_PROXY.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PRE_PROXY.3 b/docs/libcurl/opts/CURLOPT_PRE_PROXY.3 index 92ca524bb..1a593d7bc 100644 --- a/docs/libcurl/opts/CURLOPT_PRE_PROXY.3 +++ b/docs/libcurl/opts/CURLOPT_PRE_PROXY.3 @@ -64,7 +64,7 @@ All except file://. Note that some protocols don't do very well over proxy. .nf CURL *curl = curl_easy_init(); if(curl) { - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/file.txt"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/file.txt"); curl_easy_setopt(curl, CURLOPT_PREPROXY, "socks4://socks-proxy:1080"); curl_easy_setopt(curl, CURLOPT_PROXY, "http://proxy:80"); curl_easy_perform(curl); |