curl / Mailing Lists / curl-library / Single Mail


RE: Wait for a response using curl_multi_wait

From: Daniel Stenberg <>
Date: Tue, 20 Mar 2018 23:50:23 +0100 (CET)

On Tue, 20 Mar 2018, Cunningham, Joel wrote:

> curl_multi_wait() has been particularly hard to integrate with in a manner
> which doesnąt unnecessarily sleep and end up in a tight loop. What Iąve
> found is the main issue is a lack of information about if any waiting was
> actually done.


When we added curl_multi_wait() to offer a simpler API, we clearly missed out
on exactly that detail and it unfortunately makes the function hard to use in
an effective way. And not that easy and convenient as I wanted it to be and
which was the original plan.

Let's say we would introduce an improved version of this function. How would
you propose its API would work to reduce the current annoyance as much as

   curl_multi_wait_done_again() (yes, the name can also be discussed)


Received on 2018-03-20