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.
----- 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
> > howevever the curl object gets left in its last state which in my case
> > 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
> what type of proxy libcurl uses if you enable one (by setting a host name
> 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