Date: Tue, 06 Nov 2007 22:58:11 +0100
Daniel Stenberg schrieb:
> On Mon, 5 Nov 2007, nf2 wrote:
>> i don't really understand the documentation of CURLOPT_TIMEOUT: "the
>> maximum time in seconds that you allow the libcurl transfer operation
>> to take". this sounds like the timeout always cancels the operation,
>> no matter if there is traffic on the data connection or not.
> That's correct.
>> i only need a timeout when a download/upload "hangs" for a certain
>> time (no traffic on the connection).
> 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?
Received on 2007-11-06