mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:17:20 +03:00
connect: close the happy eyeballs loser connection when using QUIC
Reviewed-by: Nick Banks Closes #9303
This commit is contained in:
parent
764c958c52
commit
ed6e0febe0
1 changed files with 2 additions and 0 deletions
|
|
@ -910,6 +910,8 @@ CURLcode Curl_is_connected(struct Curl_easy *data,
|
|||
conn->tempsock[i] = CURL_SOCKET_BAD;
|
||||
post_SOCKS(data, conn, sockindex, connected);
|
||||
connkeep(conn, "HTTP/3 default");
|
||||
if(conn->tempsock[other] != CURL_SOCKET_BAD)
|
||||
Curl_quic_disconnect(data, conn, other);
|
||||
return CURLE_OK;
|
||||
}
|
||||
/* When a QUIC connect attempt fails, the better error explanation is in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue