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: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 27 Sep 2019 23:00:28 +0200 (CEST)

On Fri, 27 Sep 2019, Denis Chapligin via curl-library wrote:

> This could be a reason, but how can i check the state of that handle and
> prove that? Will curl_multi_info_read return data for that handle, for
> example?

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.

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-27