cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: help: curl_easy_setopt(..., TIME_OUT, 5) did not work

From: Basil Su <hityourface_at_gmail.com>
Date: Wed, 20 Jan 2010 03:02:42 +0800

DANIEL,
    hi. thanks for your reply.

   curl 7.19.0 on Linux kernel 2.6.9

   when i use curl_multi_perform() and curl tried to connect destination FTP
server.

2010/1/20 Daniel Stenberg <daniel_at_haxx.se>

> On Wed, 20 Jan 2010, Basil Su wrote:
>
> (1) curl_easy_setopt(..., TIME_OUT, 5) did not work
>>
>
> Which libcurl version on what operating system?
>
>
> i use curl_easy_setop(curl, TIME_OUT, 5), but i find some ftp urls
>> (like 10.1.1.2 or ftp://(domain name) would make it stuck for about 2
>> minutes which is much shorter than 5 seconds. did i use it in the right way?
>>
>
> What does it get stuck at, during what operation?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-19