cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Interrupting in-progress download

From: Daniel Lavalliere <lavda_at_touchtunes.com>
Date: Wed, 2 Nov 2005 16:46:06 -0500

Thanks for the suggestions.
I managed to do what I needed by using curl_multi_remove_handle(...).

----- Original Message -----
From: "Daniel Lavalliere" <lavda_at_touchtunes.com>
To: <curl-library_at_cool.haxx.se>
Sent: Wednesday, November 02, 2005 9:11 AM
Subject: Interrupting in-progress download

> Assuming a http file download is in progress,
> CURLOPT_NOSIGNAL = 0 and CURLOPT_TIMEOUT=1200,
> is there any way to request libcurl to stop downloading the file now
> if you know the connection just went dead and will not be back up
> before the timeout occurs.
>
Received on 2005-11-02