]> granicus.if.org Git - curl/commitdiff
TODO: Timeout idle connections from the pool
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Jul 2016 14:01:50 +0000 (16:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Jul 2016 14:03:15 +0000 (16:03 +0200)
docs/TODO

index c0f4280a335393558468a340efefbbd94eba6c17..b58325ecbcdc771c0377ae1be8bf4ce356c88217 100644 (file)
--- 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
 
  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