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.

--

 / 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

Reply via email to