mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +03:00
test dnsd: implement delayed responses
Add "Delay-A: ms", "Delay-AAAA: ms" and "Delay-HTTPS: ms" to the test dnsd config and implement delayed response handling. Add test_21_09 and test_21_10 to check that delayed responses connect using the undelayed address family. Closes #21299
This commit is contained in:
parent
bcd94e2750
commit
86f1e5b3f6
7 changed files with 277 additions and 50 deletions
|
|
@ -464,6 +464,10 @@ CURLcode Curl_async_thrdd_multi_init(struct Curl_multi *multi,
|
|||
void Curl_async_thrdd_multi_destroy(struct Curl_multi *multi, bool join)
|
||||
{
|
||||
if(multi->resolv_thrdq) {
|
||||
#ifdef CURLVERBOSE
|
||||
CURL_TRC_DNS(multi->admin, "destroy thread queue+pool, join=%d", join);
|
||||
Curl_thrdq_trace(multi->resolv_thrdq, multi->admin);
|
||||
#endif
|
||||
Curl_thrdq_destroy(multi->resolv_thrdq, join);
|
||||
multi->resolv_thrdq = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue