Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easy: fix curl_easy_upkeep for shared connection caches #12677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 26, 2024

  1. easy: fix curl_easy_upkeep for shared connection caches

    - Predict which connection cache is or will be used by the easy handle
      and perform connection upkeep on that cache.
    
    This change allows curl_easy_upkeep to be effective on easy handles that
    are using a shared connection cache, either from a user created shared
    connection cache or a user created multi which has its own shared
    connection cache.
    
    Prior to this change curl_easy_upkeep would upkeep the connection cache
    for the easy handle only if that cache was from the multi owned by the
    easy handle (ie curl_easy_perform was previously called and there's a
    connection cache exclusive to the easy handle in
    data->multi_easy->conn_cache).
    
    Ref: https://curl.se/mail/lib-2024-01/0016.html
    
    Closes #xxxx
    jay committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    c079b81 View commit details
    Browse the repository at this point in the history