cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: questions about multi API

From: Daniel Stenberg <daniel_at_haxx.se>
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
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.
Received on 2009-07-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET