Woops, partly revert my previous commit and do it slightly differently instead.
authorDaniel Stenberg <daniel@haxx.se>
Tue, 15 Jan 2008 22:44:12 +0000 (22:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Jan 2008 22:44:12 +0000 (22:44 +0000)
commit991505e077f4ecdbd0b1d0f42be0c9b548dc743d
tree34b3e98e43004e2a577ffe4f421acdabbcf6170f
parent56f17d2c9f3d229d701bcf0dda83f4d29c0e02ba
Woops, partly revert my previous commit and do it slightly differently instead.
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the internal variable that it is in use must not be
done until it finally actually gets used!

NOTE and WARNING: I noticed that you can't actually switch off the global dns
cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously
either and the option is very clearly and loudly documented as DO NOTE USE so
I won't bother to fix this bug now.
lib/easy.c
lib/hostip.c
lib/hostip.h
lib/url.c
lib/urldata.h