cURL / Mailing Lists / curl-library / Single Mail


Re: curl_multi_wait

From: Daniel Stenberg <>
Date: Mon, 8 Oct 2012 15:01:45 +0200 (CEST)

On Mon, 8 Oct 2012, Mark Tully wrote:

> It looks like curl_multi_wait will wait for the full timeout value even when
> it has no easy handles in the multi handle (On MS Windows) and so no work is
> possible.
> Is this correct behaviour? If so, I will guard my call to it with a check on
> the # added easy handles first.

I think it is up to us to decide what a correct behaviour would be in this
case since we haven't yet released a version with curl_multi_wait... Whatever
we decide we should make sure it gets added to the man page.

Somehow I think it makes sense that it waits until there's action, and if
there's nothing to wait for waits the entire timeout period.

Or am I wrong?

List admin:
Received on 2012-10-08