curl-library
Re: multi_addtimeout has a long timeout list
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Aug 2014 11:43:04 +0200 (CEST)
Received on 2014-08-25
Date: Mon, 25 Aug 2014 11:43:04 +0200 (CEST)
On Sun, 29 Jun 2014, Florian Weimer wrote:
> 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?
Hi Florian,
Could you please give the attached patch a go and see if it makes anything
better for your test case? It introduces a new internal function for the
expiry handling that really should prevent that sort of "overload" you were
seeing.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- TEXT/x-diff attachment: 0001-low-speed-limit-avoid-timeout-flood.patch