cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: why CURL_GLOBAL_NOTHING makes CURLE_COULDNT_RESOLVE_HOST on Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Apr 2008 09:09:52 +0200 (CEST)

On Tue, 1 Apr 2008, Tiberiu Motoc wrote:

> This error has cost me MANY hours of debugging and I want to know if there
> is an explanation behind it. I called curl_global_init() with
> CURL_GLOBAL_NOTHING. This worked on Linux as expected, however on Windows it
> made curl_easy_perform() fail with CURLE_COULDNT_RESOLVE_HOST (6).

You would thus have saved hours of your time by reading the curl_global_init()
man page, which in my mind would be one of the first things to do when you
want to learn details about a particular function...

Or was it something in that page that made you think it didn't apply to your
case?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-04-02