cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: inactivity timeout on Win2k

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 19 Dec 2003 09:14:23 +0100 (CET)

On Wed, 17 Dec 2003 RBramante_at_on.com wrote:

> curl_easy_setopt(h, CURLOPT_LOW_SPEED_LIMIT, 1L);
> curl_easy_setopt(h, CURLOPT_LOW_SPEED_TIME, 60L);
>
> Which from the docs I am assuming means: if the transfer rate falls below 1
> byte per second for 60 consecutive seconds, abort. (effectively if no bytes
> have been received for 60 seconds, correct?)

That's correct, yes.

> I start a transfer and then I unplug the network cable about half way
> through. That was 10 minutes ago and I am still sitting in
> curl_easy_perform with no end in site.

Then it isn't working as it is supposed to.

> After several tries I've had no success with the cable unplugged test
> though. Any ideas?

Not really. But your other mail indicates a direction...

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-19