curl-library
Re: Proxy off ?
Date: Fri, 10 Sep 2004 20:19:32 +0100
Many thanks, that should do it.
I can't test this easily in case you wondered why I hadn't already tried the
"suck it and see" method.
Regards,
Paul Johnson.
www.applewoodhouse.com
----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Friday, September 10, 2004 6:21 PM
Subject: Re: Proxy off ?
> On Fri, 10 Sep 2004, Paul Johnson wrote:
>
> > if my own preferences settings says no proxy, it just doesn't set
anything,
> > howevever the curl object gets left in its last state which in my case
was
> > for http proxy.
>
> Then set CURLOPT_PROXY to NULL, that removes the previous setting.
>
> > curl_easy_setopt(curl,CURLOPT_PROXYTYPE,CURLPROXY_HTTP);
>
> CURLOPT_PROXYTYPE doesn't enable or disable a proxy though, it just
changes
> what type of proxy libcurl uses if you enable one (by setting a host name
with
> CURLOPT_PROXY).
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-10