Re: curl_easy_setopt for SSL proxy
Date: Mon, 26 Jan 2009 01:06:51 +0200
On Mon, Jan 26, 2009 at 12:41 AM, nirdroid droid <nirdroid_at_gmail.com> 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, "184.108.40.206");
> 2. curl_easy_setopt(curl, CURLOPT_PROXYPORT, 80);
> 3. curl_easy_setopt(curl, CURLOPT_PROXYPORT, 8443);
> doesn't #3 runs over #2?
doesn't #2 runs over #1?
there are many http urls that redirect to htts page (usually login page), so
if you use proxy, you need both http and https proxy
Received on 2009-01-26