cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Blocking variant of curl_multi_perform

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Thu, 11 Mar 2010 22:20:10 +0100

On Thu, Mar 11, 2010 at 10:14 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 10 Mar 2010, Olaf van der Spek wrote:
>
>> CURLMcode curl_multi_perform_sync(CURLM *multi_handle, int
>> *running_handles)
>> {
>
> Thank you, this revealed it quite clearly to me: I had a different
> expectation of what the function would do.

Did you expect it to block until all easy handles were finished?

> I find the use case for this function very narrow and not very useful in
> general applications.

Hmm, it seemed quite useful to me for simple apps that wish to extend
from single to multiple requests.

Olaf
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-11