Re: questions about multi API
Date: Wed, 1 Jul 2009 11:34:56 +0200
On Wed, Jul 1, 2009 at 11:22, Mohun Biswas<m_biswas_at_mailinator.com> wrote:
> And as Daniel points out the loop is not required, it's just quite common. I
> guess the point is it's the right thing to do iff all your important work is
> being done by the libcurl multi API.
But also, the times libcurl returns CURLM_CALL_MULTI_PERFORM calling
it again to do the next action shouldn't add up to a lot extra, so in
the end you will hardly ever notice that while loop in your app
I think that return code was perhaps a mistake to introduce, and a
future version of libcurl might just take care of that looping
internally instead to simplify the API somewhat.
Received on 2009-07-01