]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
asyn-thrdd resolver: clear timeout when done
authorStefan Eissing <stefan@eissing.org>
Mon, 29 Sep 2025 14:44:35 +0000 (16:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 Oct 2025 05:59:41 +0000 (07:59 +0200)
When the async threaded resolver thread returned, clear the
started EXPIRE_ASYNC_NAME timeout.

Closes #18769

lib/asyn-thrdd.c

index 2edef32f7b382ac8b04f0816b6a813cc9bdfcf3e..2aa16de7287cdb50a938008ad52de9fa4aa1350b 100644 (file)
@@ -611,6 +611,7 @@ CURLcode Curl_async_is_resolved(struct Curl_easy *data,
 
     data->state.async.done = TRUE;
     Curl_resolv_unlink(data, &data->state.async.dns);
+    Curl_expire_done(data, EXPIRE_ASYNC_NAME);
 
     if(thrdd->addr->res) {
       data->state.async.dns =