TODO: connect to multiple IPs in parallel

Closes #13986
This commit is contained in:
Daniel Stenberg 2024-06-23 11:31:16 +02:00
parent 674cbfd613
commit d5777afac6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -28,6 +28,7 @@
1.11 minimize dependencies with dynamically loaded modules
1.12 updated DNS server while running
1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
1.14 connect to multiple IPs in parallel
1.15 Monitor connections in the connection pool
1.16 Try to URL encode given URL
1.17 Add support for IRIs
@ -301,6 +302,17 @@
See https://github.com/curl/curl/issues/2734
1.14 connect to multiple IPs in parallel
curl currently implements the happy eyeball algorithm for connecting to the
IPv4 and IPv6 alternatives for a host in parallel, sticking with the
connection that "wins". We could implement a similar algorithm per individual
IP family as well when there are multiple available addresses: start with the
first address, then start a second attempt N milliseconds after and then a
third another N milliseconds later. That way there would be less waiting when
the first IP has problems. It also improves the connection timeout value
handling for multiple address situations.
1.15 Monitor connections in the connection pool
libcurl's connection cache or pool holds a number of open connections for the