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: Getting a list of easy handles in a multi handle - possible?

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 26 Aug 2023 21:05:04 +0200 (CEST)

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);

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-08-26