On Sat, Aug 26, 2023 at 09:05:04PM +0200, Daniel Stenberg via curl-library wrote: > On Sat, 26 Aug 2023, Jeroen Ooms wrote: > > >I am also (still) interested: https://curl.se/mail/lib-2016-06/0002.html > > Seven years later, what do you know! At least I was positive about > it already back then. > > How about something basic like this? > > /* > * Returns an easy handle from the multi handle > * > * If 'prev' is NULL, return the first. > * If 'prev' is not NULL: > * - if 'prev' identifies a handle in the multi handle, return the next > * - if 'prev' is not a handle present in the multi, return the first > * > * Returns NULL if the above has no handle to return. > */ > CURL *curl_multi_easy(CURLM *multi, CURL *prev);
I believe for our use (removing and freeing the easy handles from the multi), simply having the ability to return the first easy handle -- or *any* easy handle -- would be sufficient. Of course that's not a very general API ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html