From f3cad5bbf2fa2487061ce0f4a15dc2c334ba410e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 26 Jul 2016 16:01:50 +0200 Subject: TODO: Timeout idle connections from the pool --- docs/TODO | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs') diff --git a/docs/TODO b/docs/TODO index c0f4280a3..b58325ecb 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 -- cgit v1.2.3