cURL / Mailing Lists / curl-library / Single Mail


Re: Using CURLOPT_PROXY to turn off proxy use?

From: Adam D. Moss <>
Date: Fri, 23 Feb 2007 18:54:16 +0000

Daniel Stenberg wrote:
> On Thu, 22 Feb 2007, Adam D. Moss wrote:
>> Having upgraded to 7.16.1, the same call doesn't appear to override
>> the environment vars - the HTTP PUT goes through the proxy.
>> I see that using "" as a CURLOPT_PROXY isn't a documented way to turn
>> off HTTPing proxying for a handle; is it still supposed to serve this
>> purpose? Is there a better way to skip any proxying for a handle?
> I think it sounds like a regression... and that it is an additional bug
> that the docs doesn't mention this way. And I figure we should add a
> test case that verifies that this works...
> However, using the current CVS with a test snippet like below it seems
> to work fine for me:

FYI - a colleague spent some time tracking the problem down and reports
that it was introduced between 7.16.0 and 7.16.1 but subsequently fixed
again between 7.16.1 and CVS HEAD. Just our luck to choose 7.16.1 I

Received on 2007-02-23