diff options
author | Björn Stenberg <bjorn@haxx.se> | 2013-10-29 11:51:25 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-11-04 22:38:19 +0100 |
commit | 02fbc26d59c59170fd358034b04a43d8e9b7c78f (patch) | |
tree | 99f9688582ca5abdb78dbb8fb2c065bd9a6d2f97 /tests/data/test257 | |
parent | 0074c9f5d12e84ed877647e78fcf77460a9270e5 (diff) |
connect: Add connection delay to Happy Eyeballs.
This patch adds a 200ms delay between the first and second address
family socket connection attempts.
It also iterates over IP addresses in the order returned by the
system, meaning most dual-stack systems will try IPv6 first.
Additionally, it refactors the connect code, removing most code that
handled synchronous connects. Since all sockets are now non-blocking,
the logic can be made simpler.
Diffstat (limited to 'tests/data/test257')
0 files changed, 0 insertions, 0 deletions