curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Adding/removing handles to the multi_handle produces unexpected result of curl_multi_perform

From: Denis Chapligin via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 30 Sep 2019 11:21:39 +0300

Hello Daniel,

сб, 28 сент. 2019 г. в 00:00, Daniel Stenberg <daniel_at_haxx.se>:

> On Fri, 27 Sep 2019, Denis Chapligin via curl-library wrote:
>
> Yes it will. It returns information about all added handles, even if they
> perhaps error out very fast.
>
> An alternative for you is to instead loop until curl_multi_info_read() has
> returned "DONE" for all handles you added.
>
>
Thank you very much, it works as expected now. I think
using curl_multi_info_read for that case should be documented, cause at
the moment it is non-obvious, so i'll make documentation PR this week.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-30