cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Missing Timeout?

From: Yanick Pelletier <ypelletier_at_copernic.com>
Date: Fri, 19 Oct 2001 15:15:07 -0400

Yes thanks this options give me the result that i want!

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Friday, October 19, 2001 8:41 AM
To: Yanick Pelletier
Cc: libcurl Mailing list
Subject: RE: Missing Timeout?

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