Commit f3cad5bb authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

TODO: Timeout idle connections from the pool

parent ea886941
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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