aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test606
diff options
context:
space:
mode:
authorAnders Bakken <agbakken@gmail.com>2017-09-28 08:20:04 -0700
committerDaniel Stenberg <daniel@haxx.se>2017-09-29 08:51:59 +0200
commit49d75a4c15393d66e9f3e0ce289a610da4d6e5a9 (patch)
tree1f8ac13f83a587acf1b2d481db511b5014391693 /tests/data/test606
parentc66d94d6da50b20a8bc218683bc88b54ac15d6c2 (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/test606')
0 files changed, 0 insertions, 0 deletions