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?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to