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. 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
