1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

TODO: Timeout idle connections from the pool

This commit is contained in:
Daniel Stenberg 2016-07-26 16:01:50 +02:00
parent ea88694184
commit f3cad5bbf2

View File

@ -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