diff options
author | Anders Bakken <agbakken@gmail.com> | 2017-09-28 08:20:04 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-29 08:51:59 +0200 |
commit | 49d75a4c15393d66e9f3e0ce289a610da4d6e5a9 (patch) | |
tree | 1f8ac13f83a587acf1b2d481db511b5014391693 /tests/data/test98 | |
parent | c66d94d6da50b20a8bc218683bc88b54ac15d6c2 (diff) |
connect: fix race condition with happy eyeballs timeout
The timer should be started after conn->connecttime is set. Otherwise
the timer could expire without this condition being true:
/* should we try another protocol family? */
if(i == 0 && conn->tempaddr[1] == NULL &&
curlx_tvdiff(now, conn->connecttime) >= HAPPY_EYEBALLS_TIMEOUT) {
Ref: #1928
Diffstat (limited to 'tests/data/test98')
0 files changed, 0 insertions, 0 deletions