cURL / Mailing Lists / curl-library / Single Mail


Re: help--why didn't CONNECTIONTIMEOUT work?

From: Daniel Stenberg <>
Date: Wed, 2 Dec 2009 11:54:32 +0100 (CET)

On Mon, 30 Nov 2009, Basil Su wrote:

> i call the function like that
> curl_easy_setopt(_curl,CURLOPT_CONNECTTIMEOUT,(long)5) because i don't want
> to wait for a long time. but i fond it didn't work. it also stay stuck for
> almost 3 minutes just like it act without using this funciton.
> why didn't it work? and how could i make it not stay stuck for such a long
> time?

What libcurl version on what operating system? What name resolver are you
using? What protocol? Is it repeatable? Does it always take that long against
a particular site?

List admin:
Received on 2009-12-02