cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_TIMEOUT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Nov 2007 22:31:08 +0100 (CET)

On Tue, 6 Nov 2007, nf2 wrote:

>> Then you probably want CURLOPT_LOW_SPEED_LIMIT and CURLOPT_LOW_SPEED_TIME,
>> or you make your own with the progress callback.
>>
> if i set CURLOPT_LOW_SPEED_LIMIT to 0 (zero) and CURLOPT_LOW_SPEED_TIME to
> 60 - does this work like a timout of 60 seconds?

If you by timeout mean "if there's no data sent or received during the last 60
seconds", then yes.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-06