]> granicus.if.org Git - curl/commit
Ingmar Runge provided a source snippet that caused a crash. The reason for
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 Jul 2006 22:58:06 +0000 (22:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Jul 2006 22:58:06 +0000 (22:58 +0000)
commitca319f63ad757a69f14105ab4a8bbf10987b8ad0
treed50690605fefd4ea78795d68068a4425bc9494b2
parenta09a8164db637b35de52bdea757e8ea930f28eaf
Ingmar Runge provided a source snippet that caused a crash. The reason for
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).
CHANGES
RELEASE-NOTES
lib/easy.c
lib/hostip.c
lib/multi.c
lib/url.c
lib/urldata.h