From 1a99ecdf50725c56981b23e8f02beed31935ef57 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 23 Feb 2018 12:52:22 +0100 Subject: curl_share_setopt.3: connection cache is shared within multi handles --- docs/libcurl/curl_share_setopt.3 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/libcurl/curl_share_setopt.3 b/docs/libcurl/curl_share_setopt.3 index 2e0e785fa..85349ab00 100644 --- a/docs/libcurl/curl_share_setopt.3 +++ b/docs/libcurl/curl_share_setopt.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -62,8 +62,8 @@ Cookie data will be shared across the easy handles using this shared object. .IP CURL_LOCK_DATA_DNS Cached DNS hosts will be shared across the easy handles using this shared object. Note that when you use the multi interface, all easy handles added to -the same multi handle will share DNS cache by default without this having to -be used! +the same multi handle will share DNS cache by default without using this +option. .IP CURL_LOCK_DATA_SSL_SESSION SSL session IDs will be shared across the easy handles using this shared object. This will reduce the time spent in the SSL handshake when reconnecting @@ -84,6 +84,9 @@ in different threads using a shared connection. Support for \fBCURL_LOCK_DATA_CONNECT\fP was added in 7.57.0, but the symbol existed before this. + +Note that when you use the multi interface, all easy handles added to the same +multi handle will share connection cache by default without using this option. .RE .IP CURLSHOPT_UNSHARE This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that -- cgit v1.2.3