Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: LRU connection pooling can result in uneven load
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 17 Sep 2021 17:19:56 +0200 (CEST)
On Fri, 17 Sep 2021, Jeffrey Tolar wrote:
> I haven't tried it yet, but I think the simplest implementation (at least
> for me) would be to mirror CURLOPT_MAXAGE_CONN, and add an additional check
> in conn_maxage [*]. That won't close connections immediately when they
> expire, but I think it will be good enough for most cases.
That would be exactly the approach I would go about to do this as well!
Date: Fri, 17 Sep 2021 17:19:56 +0200 (CEST)
On Fri, 17 Sep 2021, Jeffrey Tolar wrote:
> I haven't tried it yet, but I think the simplest implementation (at least
> for me) would be to mirror CURLOPT_MAXAGE_CONN, and add an additional check
> in conn_maxage [*]. That won't close connections immediately when they
> expire, but I think it will be good enough for most cases.
That would be exactly the approach I would go about to do this as well!
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-09-17