cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simple.c doesn't work...

From: gbstack <gbstack08_at_gmail.com>
Date: Fri, 03 Jul 2009 19:32:58 +0800

Kamil Dudka wrote:
> On Friday 03 July 2009 12:56:51 gbstack wrote:
>
>> sorry,I just read the "When It doesn't work" part in the tutorial.
>> after I set CURLOPT_VERBOSE to 1,it began to give me some details:
>>
>> * About to connect() to proxy 74.55.139.182 port 3128 (#0)
>> * Trying 74.55.139.182...
>>
>>
>> and after several minutes,it didn't change...
>>
>
> It seems like the proxy is dead. Do you really want to use the proxy? If not,
> check your environment:
>
> $ env | grep -i proxy
>
> You can either unset the environment variables, or override them
> by CURLOPT_PROXY option.
>
> Kamil
>
>
>
Although I don't know why I don't have any environment variable which
include "proxy",after I set CURLOPT_PROXY to empty string,it works!

Thank you very much Kamil! :-)

Regards,
Todong Ma
Received on 2009-07-03