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.html
