cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Blocking variant of curl_multi_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 6 Mar 2010 17:14:37 +0100 (CET)

On Sat, 6 Mar 2010, Olaf van der Spek wrote:

>> Not until at least someone else also speaks up in favour of it. Then there's
>> of course the issue of how an API for such a function would work, and then
>> I'm mostly thinking about how the app would know how each individual
>> transfer did.
>
> In the same way as now?

That's doable, but your suggested code would also need to know when all
transfers are done and if it wants to leave the messages for the app to read
out, the function cannot also consume those messages. It'd require some care
to address it, like to be able to "push back" a message to the multi message
queue.

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