mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
lib: remove 'conn->data' completely
The Curl_easy pointer struct entry in connectdata is now gone. Just
before commit 215db086e0 landed on January 8, 2021 there were 919
references to conn->data.
Closes #6608
This commit is contained in:
parent
a59c33ceff
commit
cfff12a0b3
7 changed files with 26 additions and 79 deletions
|
|
@ -466,7 +466,6 @@ Curl_conncache_extract_bundle(struct Curl_easy *data,
|
|||
data->state.conn_cache->num_conn--;
|
||||
DEBUGF(infof(data, "The cache now contains %zu members\n",
|
||||
data->state.conn_cache->num_conn));
|
||||
conn_candidate->data = data; /* associate! */
|
||||
}
|
||||
|
||||
return conn_candidate;
|
||||
|
|
@ -529,7 +528,6 @@ Curl_conncache_extract_oldest(struct Curl_easy *data)
|
|||
connc->num_conn--;
|
||||
DEBUGF(infof(data, "The cache now contains %zu members\n",
|
||||
connc->num_conn));
|
||||
conn_candidate->data = data; /* associate! */
|
||||
}
|
||||
CONNCACHE_UNLOCK(data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue