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: Fri, 27 Sep 2019 23:53:54 +0300

Hello Daniel,

пт, 27 сент. 2019 г. в 18:26, Daniel Stenberg <daniel_at_haxx.se>:

> > }
> > curl_multi_perform(multi_handle, &running_handles);
> > }
>
> Not sure if this is what happens for you, but if in this case the newly
> added
> transfers fails really early, the first curl_multi_perform() call with the
> new
> transfer will get a zero back in running_handles and this loop will stop.
>
>
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?

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