cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Best Way to stop current running easy handle/Multi handle

From: Stefano D. Mtangoo <mwinjilisti_at_gmail.com>
Date: Tue, 07 Jan 2014 12:13:46 +0300

On 07/01/2014 12:00 alasiri, Cédric Deltheil wrote:
> Le 7 janv. 2014 à 09:50, "Stefano D. Mtangoo" <mwinjilisti_at_gmail.com> a écrit :
>
>> I want to just cancel
>> current task (stop transfer or whatever is happening with multi/easy)
>> is calling easy/multi cleanup a way to go? If no is libcurl having such mechanism?
> You can find the official guidelines here (FAQ):
>
> http://curl.haxx.se/docs/faq.html#How_do_I_stop_an_ongoing_transfe
>
> The progress function documentation[1] is helpful too: see the "Returning a non-zero value from this callback ..." part.
Thats cool.
Thanks!
>
> Cédric
>
> [1]: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROGRESSFUNCTION
>
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-- 
Stefano D. Mtangoo
Mob: +255 754710410
Twitter: @mtangoo
Web. http://hosannahighertech.co.tz
Linkedin: http://www.linkedin.com/pub/stefano-mtangoo/45/644/281
/The purpose of man is to know his Maker Be known by his Maker
And make his Maker known So that others may know his Maker as their 
Maker(Emeal Zwayne) /

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-07