urldata: fix comments: Curl_done() is called multi_done() now

... since 575e885db
This commit is contained in:
Daniel Stenberg 2020-05-28 10:12:05 +02:00
parent 697f984ec9
commit 155551c446
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View File

@ -435,7 +435,7 @@
- GSSAPI authentication for FTP transfers - GSSAPI authentication for FTP transfers
- The "DONE" operation (post transfer protocol-specific actions) for the - 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. - curl_multi_remove_handle for any of the above. See section 2.3.

View File

@ -878,13 +878,13 @@ struct connectdata {
/* 'dns_entry' is the particular host we use. This points to an entry in the /* '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 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. */ there is no name resolve done. */
struct Curl_dns_entry *dns_entry; struct Curl_dns_entry *dns_entry;
/* 'ip_addr' is the particular IP we connected to. It points to a struct /* '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 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 *ip_addr;
struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */ struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */