On 07/01/2014 12:00 alasiri, Cédric Deltheil wrote:
Le 7 janv. 2014 à 09:50, "Stefano D. Mtangoo" <[email protected]> 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