Connection cache size
I am using only curly API in my code. So, I think that for each curly request it creates additional easy_handle and adds it to common multi_handle. So, according to libcurl documentation the total connection cache size should be 4* easy_handle amount. So, I should not see connection cache size limits. But I am regularly see in the logs "Connection cache is full, closing the oldest one" https://curl.se/libcurl/c/CURLMOPT_MAXCONNECTS.html
What is my mistake? Why do I meet this? Thank you.
We do not set any value for that option, so it should fallback to libcurl's default behavior, which is the one you mentioned above. 🤔
with 5.0.0 there will be a way to define a easy handle pool for curly, which should help with caching