mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
connect: make happy eyeballs work for QUIC (again)
Follow-up from dbd16c3e25
(regression in 7.70.0)
Closes #5334
This commit is contained in:
parent
d2dfa3e689
commit
7a86a25f5b
@ -873,9 +873,17 @@ CURLcode Curl_is_connected(struct connectdata *conn,
|
||||
conn->tempsock[i] = CURL_SOCKET_BAD;
|
||||
post_SOCKS(conn, sockindex, connected);
|
||||
connkeep(conn, "HTTP/3 default");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
/* should we try another protocol family? */
|
||||
if(i == 0 && !conn->parallel_connect &&
|
||||
(Curl_timediff(now, conn->connecttime) >=
|
||||
data->set.happy_eyeballs_timeout)) {
|
||||
conn->parallel_connect = TRUE; /* starting now */
|
||||
trynextip(conn, sockindex, 1);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef mpeix
|
||||
|
Loading…
Reference in New Issue
Block a user