From: Daniel Stenberg Date: Mon, 1 Mar 2004 15:50:15 +0000 (+0000) Subject: global dns cache is not nice, we consider it obsolete starting now X-Git-Tag: upstream/7.37.1~13313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=526c61c6574db5fcc1fc9fd7981f5192f082573e;p=platform%2Fupstream%2Fcurl.git global dns cache is not nice, we consider it obsolete starting now --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 4bd570b..afe04b2 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -283,6 +283,10 @@ libcurl caches this info for 60 seconds. Pass a long. If the value is non-zero, it tells curl to use a global DNS cache that will survive between easy handle creations and deletions. This is not thread-safe and this will use a global varible. + +\fBWARNING:\fP this option is considered obsolete. Stop using it. Switch over +to using the share interface instead! See \fICURLOPT_SHARE\fP and +\fIcurl_share_init(3)\fP. .IP CURLOPT_BUFFERSIZE Pass a long specifying your prefered size for the receive buffer in libcurl. The main point of this would be that the write callback gets called more often