Re: simple.c doesn't work...
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 18.104.22.168 port 3128 (#0)
>> * Trying 22.214.171.124...
>> 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.
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! :-)
Received on 2009-07-03