From: Daniel Stenberg Date: Tue, 26 Jul 2016 14:01:50 +0000 (+0200) Subject: TODO: Timeout idle connections from the pool X-Git-Tag: curl-7_50_1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3cad5bbf2fa2487061ce0f4a15dc2c334ba410e;p=thirdparty%2Fcurl.git TODO: Timeout idle connections from the pool --- diff --git a/docs/TODO b/docs/TODO index c0f4280a33..b58325ecbc 100644 --- a/docs/TODO +++ b/docs/TODO @@ -34,6 +34,7 @@ 1.16 Try to URL encode given URL 1.17 Add support for IRIs 1.18 try next proxy if one doesn't work + 1.19 Timeout idle connections from the pool 2. libcurl - multi interface 2.1 More non-blocking @@ -330,6 +331,16 @@ https://github.com/curl/curl/issues/896 +1.19 Timeout idle connections from the pool + + libcurl currently keeps connections in its connection pool for an indefinite + period of time, until it eithe rgets reused, gets noticed that it has been + closed by the server or gets pruned to make room for a new connection. + + To reduce overhead (especially for when we add monitoring of the connections + in the pool), we should introduce a timeout so that connections that have + been idle for N seconds get closed. + 2. libcurl - multi interface