cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [Patch] curl_multi_fdset manpage tweak

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 26 Dec 2009 15:40:41 +0100 (CET)

On Mon, 21 Dec 2009, Julien Chaffraix wrote:

> My previous change is also quite limited to my testing and may be broader
> (if a handle has finished, it could be in the fdset when we do not expect it
> to be ..). What is the position of more knowledgeable people about libcURL:
> does it sound sane to advice that curl_multi_perform should be called to be
> sure that the curl_multi_fdset() results are up-to-date?

Yes I think it is a good idea to clarify that *perform() is the key function
that drives changes to socket states so if you want really up-to-date info
that function should be called first.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-26