Skip to content

Connection cache size #419

@iamoskvin

Description

@iamoskvin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions