cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Missing Timeout?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 19 Oct 2001 14:41:21 +0200 (MET DST)

On Fri, 19 Oct 2001, Yanick Pelletier wrote:

> I'd like to have a time limits between the reciept of two chuck of data.
> Like setting a timeout of 60 seconds and if takes more than 60 seconds
> between two reciept of two chuck of data, we quit with a time out...
> Maybe CURLOPT_LOW_SPEED_TIMEOUT could be a correct name.

But... Why can't you set CURLOPT_LOW_SPEED_LIMIT to something like 1 and
CURLOPT_LOW_SPEED_TIME to 60 then? The effect would be pretty much the same,
wouldn't it?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-19