cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi interface perf question

From: Alan Wolfe <alan.wolfe_at_gmail.com>
Date: Sun, 6 Feb 2011 18:19:36 -0800

Awesome, that's probably what's going wrong then. I can't wait to give that
a try.

Thanks a ton!

On Sun, Feb 6, 2011 at 2:18 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Fri, 4 Feb 2011, Alan Wolfe wrote:
>
> so i do have a select before my curl_multi_perform with a timeout of
>> 10usecs.
>>
>> In theory i should be able to even set that to 0 usec's just to poll if
>> there is data ready without even blocking for those 10 usecs.
>>
>
> No, the theory says you should use curl_multi_timeout() to figure out how
> long timeout to use since libcurl also wants to be called even when nothing
> happens.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

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