mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
all: remove FIXME and TODO comments
We can always improve. These comments tend to linger and go misleading or plain wrong over time. Closes #16283
This commit is contained in:
parent
f1d1c98b7f
commit
94c596bbc5
23 changed files with 51 additions and 71 deletions
|
|
@ -3212,7 +3212,7 @@ static CURLcode resolve_server(struct Curl_easy *data,
|
|||
#endif
|
||||
|
||||
if(unix_path) {
|
||||
/* TODO, this only works if previous transport is TRNSPRT_TCP. Check it? */
|
||||
/* This only works if previous transport is TRNSPRT_TCP. Check it? */
|
||||
conn->transport = TRNSPRT_UNIX;
|
||||
return resolve_unix(data, conn, unix_path);
|
||||
}
|
||||
|
|
@ -3310,7 +3310,7 @@ static void reuse_conn(struct Curl_easy *data,
|
|||
* We want to reuse an existing conn to the remote endpoint.
|
||||
* Since connection reuse does not match on conn->host necessarily, we
|
||||
* switch `existing` conn to `temp` conn's host settings.
|
||||
* TODO: is this correct in the case of TLS connections that have
|
||||
* Is this correct in the case of TLS connections that have
|
||||
* used the original hostname in SNI to negotiate? Do we send
|
||||
* requests for another host through the different SNI?
|
||||
*/
|
||||
|
|
@ -3570,7 +3570,6 @@ static CURLcode create_conn(struct Curl_easy *data,
|
|||
if(result)
|
||||
goto out;
|
||||
|
||||
/* FIXME: do we really want to run this every time we add a transfer? */
|
||||
Curl_cpool_prune_dead(data);
|
||||
|
||||
/*************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue