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 <>
Date: Mon, 28 Aug 2023 13:05:43 +0200 (CEST)

On Mon, 28 Aug 2023, Stefan Eissing wrote:

> Yes, that is why I propose a snapshot (internal, invisible) of the transfer
> ids. Then the caller can even free handles during iteration without
> headaches.

Ah, of course!

The iterator approach has the plus that it does not end up with the
application having a huge array with many dangling pointers. At the expense of
needing at least two functions, possibly three. Instead of just one.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-08-28