1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

KNOWN_BUGS: slow connect to localhost on Windows

Closes #2281
This commit is contained in:
Daniel Stenberg 2018-06-14 13:55:45 +02:00
parent 47762f5583
commit 6bc8304488
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -88,6 +88,7 @@ problems may have been fixed or changed somewhat since this was written!
11.3 c-ares deviates from stock resolver on http://1346569778 11.3 c-ares deviates from stock resolver on http://1346569778
11.4 HTTP test server 'connection-monitor' problems 11.4 HTTP test server 'connection-monitor' problems
11.5 Connection information when using TCP Fast Open 11.5 Connection information when using TCP Fast Open
11.6 slow connect to localhost on Windows
12. LDAP and OpenLDAP 12. LDAP and OpenLDAP
12.1 OpenLDAP hangs after returning results 12.1 OpenLDAP hangs after returning results
@ -638,6 +639,19 @@ problems may have been fixed or changed somewhat since this was written!
See https://github.com/curl/curl/issues/1332 See https://github.com/curl/curl/issues/1332
11.6 slow connect to localhost on Windows
When connecting to "localhost" on Windows, curl will resolve the name for
both ipv4 and ipv6 and try to connect to both happy eyeballs-style. Something
in there does however make it take 200 millseconds to succeed - which is the
HAPPY_EYEBALLS_TIMEOUT define exactly. Lowering that define speeds up the
connection, suggesting a problem in the HE handling.
If we can *know* that we're talking to a local host, we should lower the
happy eyeballs delay timeout for IPv6 (related: hardcode the "localhost"
addresses, mentioned in TODO). Possibly we should reduce that delay for all.
https://github.com/curl/curl/issues/2281
12. LDAP and OpenLDAP 12. LDAP and OpenLDAP