cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: about dns resolve

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jun 2007 10:34:24 +0200 (CEST)

On Tue, 19 Jun 2007, bit bull wrote:

> hello, I using libcurl to write a download function.but when I call this
> function to down some url in first time, it show me "couldn't resolve host
> name".second time and more it return OK.

On Windows I presume? What libcurl version are you using?

> what is problem? or how can I reset DNS resolve timeout?

You can't and you shouldn't have to. You may be experiencing a bug. If this
7.16.2, can you try a recent daily snapshot or in fact even 7.16.1 (just to
verify if you're suffering from the bug I'm thinking of)?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET