]> granicus.if.org Git - curl/commitdiff
curl_share_setopt.3: connection cache is shared within multi handles
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Feb 2018 11:52:22 +0000 (12:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Feb 2018 11:52:22 +0000 (12:52 +0100)
docs/libcurl/curl_share_setopt.3

index 2e0e785fa5983a2209dd15f064d25c2d93922b60..85349ab0016cccec6a4cb87328ce7c063823a06b 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, 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