Skip to content
  • Daniel Stenberg's avatar
    Ingmar Runge provided a source snippet that caused a crash. The reason for · ca319f63
    Daniel Stenberg authored
    the crash was that libcurl internally was a bit confused about who owned the
    DNS cache at all times so if you created an easy handle that uses a shared
    DNS cache and added that to a multi handle it would crash. Now we keep more
    careful internal track of exactly what kind of DNS cache each easy handle
    uses: None, Private (allocated for and used only by this single handle),
    Shared (points to a cache held by a shared object), Global (points to the
    global cache) or Multi (points to the cache within the multi handle that is
    automatically shared between all easy handles that are added with private
    caches).
    ca319f63