]> granicus.if.org Git - curl/commitdiff
TODO: "TCP Fast Open" is done, add monitor pool connections
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Jun 2016 10:06:47 +0000 (12:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Jun 2016 10:06:47 +0000 (12:06 +0200)
docs/TODO

index f3b060007ca0e0f890128de197841277cad3b52e..14f4771c94f74b7b815663846d1fcba786c40037 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
 
   curl_easy_set_cb() - sets a callback PLUS its callback data
 
-1.15 TCP Fast Open
-
- RFC 7413 defines how to include data already in the TCP SYN handshake to
- reduce latency.
+1.15 Monitor connections in the connection pool
+
+ libcurl's connection cache or pool holds a number of open connections for the
+ purpose of possible subsequent connection reuse. It may contain a few up to a
+ significant amount of connections. Currently, libcurl leaves all connections
+ as they are and first when a connection is iterated over for matching or
+ reuse purpose it is verified that it is still alive.
+
+ Those connections may get closed by the server side for idleness or they may
+ get a HTTP/2 ping from the peer to verify that they're still alive. By adding
+ monitoring of the connections while in the pool, libcurl can detect dead
+ connections (and close them) better and earlier, and it can handle HTTP/2
+ pings to keep such ones alive even when not actively doing transfers on them.
 
 1.16 Try to URL encode given URL