On Wed, 14 Nov 2018, Evgen Bodunov via curl-library wrote:
By now I’m fixed an issue by adding
curl_easy_setopt(task->getCurl(), CURLOPT_TIMEOUT_MS, 1); // 1 ms, because 0 means no value set, and -1 is invalid
Before curl_multi_remove_handle(_multi, task->getCurl());But I believe curl should take care on cancelling active easy handler somewhere inside curl_multi_remove_handle. May be I’m wrong.
Have you figured out exactly which function in libcurl that waits if you don't do this?
-- / daniel.haxx.se
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
