On Thu, 22 Jun 2023, Andrei Georgescu via curl-library wrote:
I assumed that, in curl multi (driven by curl_multi_socket_action) the socket fds are sequentially used, i.e. only one at the time, during transfer.
That's a wrong assumption and hope no documentation anywhere tricked you into thinking so.
Each transfer might use zero, one or more sockets and subsequent transfers as well. Sometimes they will reuse sockets, sometimes not. The API makes no promises or guarantees. It tells you what sockets it works with.
Can a multi driven easy trasfer have multiple sockets involved at the same time ?
Yes. -- / 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