cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: error (6) : name lookup timed out

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 Dec 2008 12:32:02 +0100 (CET)

On Thu, 4 Dec 2008, sundararaj reel wrote:

> Here is a small example to show the behaviour.
> Code : http://codepad.org/eC6CNr17
> Output: http://codepad.org/F5lJPXHV
>
> How can libcurl reach the server when connection has been restablished,
> without restarting the program ?

What libcurl version on what platform is this?

What name resolver does it use?

I figure using strace or similar could be useful to detect what system call
that fail in the problematic case.

-- 
  / daniel.haxx.se
Received on 2008-12-04