mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53:32 +03:00
conncache: eliminate cpool's diconnect callback
The callback, provided from url.c did the work that the cshutdn functionality also implemented. Remove it. Change some DEBUGF(infof()) to CURL_TRC_M(). Closes #16810
This commit is contained in:
parent
ac3c353747
commit
a95b291ec0
7 changed files with 16 additions and 79 deletions
|
|
@ -242,8 +242,7 @@ struct Curl_multi *Curl_multi_handle(size_t ev_hashsize, /* event hash */
|
|||
if(Curl_cshutdn_init(&multi->cshutdn, multi))
|
||||
goto error;
|
||||
|
||||
if(Curl_cpool_init(&multi->cpool, Curl_on_disconnect,
|
||||
multi->admin, NULL, chashsize))
|
||||
if(Curl_cpool_init(&multi->cpool, multi->admin, NULL, chashsize))
|
||||
goto error;
|
||||
|
||||
if(Curl_ssl_scache_create(sesssize, 2, &multi->ssl_scache))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue