cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug in the multi interface? (curl_multi_wait returns 0)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Feb 2013 19:46:29 +0100 (CET)

On Tue, 19 Feb 2013, Clemens Gruber wrote:

> The docs however suggest, that the function won't return until either the
> timeout passed or a file descriptor is ready, but not that it will behave
> differently for the c-ares and the threaded resolver.

Right, but that's actually irrelevant to a user. The docs describes how the
function is expected to work and both behaviors match the description:

   "If no extra file descriptors are provided and libcurl has no file
   descriptor to offer to wait for, this function will return immediately."

> Maybe another line in the docs for curl_multi_wait would be useful for
> newcomers.

If you can specify exactly what you think is missing, ideally with a patch or
a suggestion of the enhanced phrasing, please do!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-19