From 155551c4465485dc4e754b0056f57cffcd925a94 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 May 2020 10:12:05 +0200 Subject: urldata: fix comments: Curl_done() is called multi_done() now ... since 575e885db --- docs/TODO | 2 +- lib/urldata.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/TODO b/docs/TODO index cdae462af..1cf2d7efa 100644 --- a/docs/TODO +++ b/docs/TODO @@ -435,7 +435,7 @@ - GSSAPI authentication for FTP transfers - The "DONE" operation (post transfer protocol-specific actions) for the - protocols SFTP, SMTP, FTP. Fixing Curl_done() for this is a worthy task. + protocols SFTP, SMTP, FTP. Fixing multi_done() for this is a worthy task. - curl_multi_remove_handle for any of the above. See section 2.3. diff --git a/lib/urldata.h b/lib/urldata.h index 60323311e..20ce5ed10 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -878,13 +878,13 @@ struct connectdata { /* 'dns_entry' is the particular host we use. This points to an entry in the DNS cache and it will not get pruned while locked. It gets unlocked in - Curl_done(). This entry will be NULL if the connection is re-used as then + multi_done(). This entry will be NULL if the connection is re-used as then there is no name resolve done. */ struct Curl_dns_entry *dns_entry; /* 'ip_addr' is the particular IP we connected to. It points to a struct within the DNS cache, so this pointer is only valid as long as the DNS - cache entry remains locked. It gets unlocked in Curl_done() */ + cache entry remains locked. It gets unlocked in multi_done() */ struct Curl_addrinfo *ip_addr; struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */ -- cgit v1.2.3