cURL / Mailing Lists / curl-library / Single Mail

curl-library

multi_addtimeout has a long timeout list

From: Florian Weimer <fw_at_deneb.enyo.de>
Date: Sun, 29 Jun 2014 13:28:43 +0200

I use Curl in multi mode with a single handle, to turn the interface
from a callback-based one into an iterator-based one. Source code is
here:

<https://github.com/fweimer/symboldb/blob/master/lib/cxxll/url_source.cpp>

What I'm seeing is that a lot of time is spent in multi_addtimeout
because the list of timeouts is really long (tens of thousands of
entries). Is there something I can do to avoid this phenomenon?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-29