cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform will never return CURLM_CALL_MULTI_PERFORM (and suggested fix)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 5 Aug 2012 09:56:54 +0200 (CEST)

On Sat, 4 Aug 2012, Alan wrote:

> If it works basically the same, what was the reason for having
> CURLM_CALL_MULTI_PERFORM return code in the first place?

I already explained and the logic isn't necessarily "the same", I said it
works with the same application logic as before. Previously I thought
applications would want libcurl to spend as little time as possible before
giving the app a chance to run code again, but I could never find any proof
that people actually wanted or used this. I then switched and favour an easier
API that is less complicated to understand and use.

My point is that an application written to work with libcurl pre-7.20 still
works with libcurl 7.20+, which is what we're working hard to make sure.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-05