cURL / Mailing Lists / curl-library / Single Mail


Re: curl_easy_setopt for SSL proxy

From: Daniel Stenberg <>
Date: Sun, 25 Jan 2009 23:06:49 +0100 (CET)

On Sun, 25 Jan 2009, nirdroid droid wrote:

> I have been looking at the no_proxy conversation for some time now, and I
> wonder why nobody talks about ssl_proxy settings... the only option for
> setting an ssl proxy is with the environment setting

Not at all. With libcurl you set the proxy to use with the URL you specify. So
if you give it a HTTPS URL, it will use the specified proxy for that. I figure
that is what a "ssl_proxy" is... Or did I misunderstand?

> it would be nice to have an curl_easy_setopt for that

In what way would it differ from CURLOPT_PROXY and why?

Received on 2009-01-25