From: Daniel Stenberg Date: Thu, 28 May 2020 08:12:05 +0000 (+0200) Subject: urldata: fix comments: Curl_done() is called multi_done() now X-Git-Tag: curl-7_71_0~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=155551c4465485dc4e754b0056f57cffcd925a94;p=thirdparty%2Fcurl.git urldata: fix comments: Curl_done() is called multi_done() now ... since 575e885db --- diff --git a/docs/TODO b/docs/TODO index cdae462af3..1cf2d7efa4 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 60323311e2..20ce5ed102 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 */