On Wed, Jul 1, 2009 at 11:22, Mohun Biswas<[email protected]> 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 anyway. 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.
