cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Dynamically calling curl_multi_add_handle or curl_multi_remove handle on an ongoing curl_multi_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 11 Dec 2011 11:10:27 +0100 (CET)

On Sun, 11 Dec 2011, sandeep a wrote:

> I would assume the precondition that, I call the
> API curl_multi_add_handle(easy_handle_5 for file5)
> or curl_multi_remove_handle(easy_handle_3 for file3) inside the loop
> while(running tasks), to make sure that curl_multi_perform is not completed.
>
> Can this be possible?

Yes! That's indeed possible and what the API is designed to support and work
with.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-11