mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:13:33 +03:00
Happy Eyeballs: add resolution time delay
HEv3 describes conditions on when first connect attempts shall be started. https://www.ietf.org/archive/id/draft-ietf-happy-happyeyeballs-v3-01.html Chapter 4.2 libcurl now waits 50ms for AAAA and HTTPS results (when requested) to return before continuing with the connect. Added HTTPS-RR to the "was resolved" information info message. Changed logging of HTTPS-RR to a one-liner with RFC 9460 like formatting. This way the user can see if/what was resolved and used in connecting. Closes #21354
This commit is contained in:
parent
70a159527c
commit
809dda3a37
13 changed files with 272 additions and 158 deletions
|
|
@ -214,6 +214,8 @@ CURLcode Curl_async_pollset(struct Curl_easy *data,
|
|||
#define Curl_async_await(a, b, c) CURLE_COULDNT_RESOLVE_HOST
|
||||
#define Curl_async_take_result(x, y, z) CURLE_COULDNT_RESOLVE_HOST
|
||||
#define Curl_async_pollset(x, y, z) CURLE_OK
|
||||
#define Curl_async_get_https(x, y) NULL
|
||||
#define Curl_async_knows_https(x, y) TRUE
|
||||
#endif /* !CURLRES_ASYNCH */
|
||||
|
||||
#if defined(CURLRES_ASYNCH) || !defined(CURL_DISABLE_DOH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue