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:
Stefan Eissing 2025-03-24 10:51:00 +01:00 committed by Daniel Stenberg
parent ac3c353747
commit a95b291ec0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 16 additions and 79 deletions

View file

@ -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))