curl-library
Re: curl_easy_setopt for SSL proxy
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 25 Jan 2009 23:57:55 +0100 (CET)
Date: Sun, 25 Jan 2009 23:57:55 +0100 (CET)
On Mon, 26 Jan 2009, nirdroid droid wrote:
> my app uses proxy - both http and https the proxy has http port and https
> port so the code, as you suggest should be:
>
> 1. curl_easy_setopt(curl, CURLOPT_PROXY, "1.2.3.4");
> 2. curl_easy_setopt(curl, CURLOPT_PROXYPORT, 80);
> 3. curl_easy_setopt(curl, CURLOPT_PROXYPORT, 8443);
>
> doesn't #3 runs over #2?
No, I don't suggest that and yes #3 will run over #2.
-- / daniel.haxx.seReceived on 2009-01-26