cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp+multithreaded+timeouts

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 28 Jul 2002 19:12:01 +0200 (MET DST)

On Thu, 11 Jul 2002, Arthur Kluba wrote:

> hallo, i'm writing a multi-threaded application and want to use curl for
> ftp transfer. i know i can use CURLOPT_LOW_SPEED_LIMIT and
> CURLOPT_LOW_SPEED_TIME to control the timeouts durring the transfer but
> with them i cant control the connection timeouts. i found this timeout
> hardcoded in ftpgetresponse (ftp.c) and it has the value of 60 min. is it
> clever to take it out and make it configurable or are there other way to
> control connection timeouts.

CURLOPT_CONNECTTIMEOUT

--
  Daniel Stenberg -- curl groks URLs
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-07-28