Skip to content
Snippets Groups Projects
  • Daniel Stenberg's avatar
    8927ddec
    In order to not get problems with DNS cache pruning, we no longer store · 8927ddec
    Daniel Stenberg authored
    any name resolved data in any curl handle struct. That way, we won't mind
    if the cache entries are pruned for the next time we need them. We'll just
    resolve them again instead.
    
    This changes the Curl_resolv() proto. It modifies the SessionHandle struct
    but perhaps most importantly, it'll make the internals somewhat dependent
    on the DNS cache not being disabled as that will cripple operations somewhat.
    Especially for persistant connections.
    8927ddec
    History
    In order to not get problems with DNS cache pruning, we no longer store
    Daniel Stenberg authored
    any name resolved data in any curl handle struct. That way, we won't mind
    if the cache entries are pruned for the next time we need them. We'll just
    resolve them again instead.
    
    This changes the Curl_resolv() proto. It modifies the SessionHandle struct
    but perhaps most importantly, it'll make the internals somewhat dependent
    on the DNS cache not being disabled as that will cripple operations somewhat.
    Especially for persistant connections.