cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_TIMEOUT

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 19 Feb 2004 23:09:29 +0100 (CET)

On Thu, 19 Feb 2004, Jerry G. Chiuan wrote:

> > Can you provide a full example that shows this? Does it do this timeout if
> > you use the IP 127.0.0.2 ?
>
> It doesn't time out for 127.0.0.2,

Weird. It does on my test machines.

> So you mean building w/ area support shall not matter for this case since
> this is invalid IP but domain names, right?

Building with ares will probably make it act differently since the name
resolve code is different. But we should first check why you can't timeout
this connect.

Set a break-point in libcurl's Curl_connecthost() function and single-step
through to figure out where it doesn't return properly when it should!

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-19