cURL / Mailing Lists / curl-library / Single Mail


Re: proxy not working on Windows

From: Tiberiu Motoc <>
Date: Mon, 12 Oct 2009 12:44:11 -0700

Hi Constantine,

Thanks a lot for your answer. It worked with fully qualified domain
names and it works with the IP address. Stupid me... I spent so long
debugging this.

I don't even know what c-ares is. I'm reading on that this is
a C library for resolving domain names. Without c-ares, how else is
libcurl supposed to resolve domain names? So, is there an option to
compile libcurl with or without c-ares support? I see a hostares.c
file in the source directory. Is this it?
The thing is that I was using an older compiled version of libcurl. I
have access to the source code and to the build areas, but I don't
know how it was compiled (with what options). I do see a c-ares/lib
folder around the build area. Once again, is c-ares necessary?


On Sun, Oct 11, 2009 at 11:45 AM, Constantine Sapuntzakis
<> wrote:
> On Thu, Oct 8, 2009 at 8:08 PM, Tiberiu Motoc <> wrote:
>> I'm trying to get my program to work through a proxy. My code is simple:
>> res = curl_easy_setopt( handle, CURLOPT_PROXY, "liberty:3128" );
> Does it work if you specify the fully qualified domain name?
> Are you using c-ares by any chance? It doesn't implement fqdn
> processing on Windows.
> -Costa
> -------------------------------------------------------------------
> List admin:
> Etiquette:
List admin:
Received on 2009-10-12