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 haxx.se 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? Thanks, Tiberiu On Sun, Oct 11, 2009 at 11:45 AM, Constantine Sapuntzakis <[email protected]> wrote: > On Thu, Oct 8, 2009 at 8:08 PM, Tiberiu Motoc <[email protected]> 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: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html > ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
