| |
|
|
|
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: Mon, 6 Jul 2009 20:00:16 +0200 (CEST)
On Mon, 6 Jul 2009, Mohun Biswas wrote:
> The docs say that curl_multi_perform will "transfer data on all current
No they won't. Remember that libcurl deals with the only sockets for uploads
> so I'd think that curl_multi_perform would start transfers on all of them.
It will start transfers on all it can, yes.
> Meanwhile, CURLM_CALL_MULTI_PERFORM is said to be returned when "there may
Yes, if there's more stuff to do before select() gets called again.
> As I interpret this, if curl_multi_perform is called in a loop
That's incorrect.
> The main unclarity is what it means to be "satisfied". Does it mean a buffer
The whole point with that phrasing is that it isn't specified. And I don't
CURLM_CALL_MULTI_PERFORM is simply returned to tell the app that you should
> My program services input requests and then sends its output to a remote
Just use it as documented and that's how it'll work. Of course, you'll get
-- / daniel.haxx.seReceived on 2009-07-06 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info