summaryrefslogtreecommitdiff
path: root/docs/libcurl/gnurl_share_setopt.3
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2017-12-03 19:49:13 +0000
committerng0 <ng0@n0.is>2017-12-03 19:49:13 +0000
commit054e207acc8623ec793c8e7a0e7d01f5aa1423b8 (patch)
treecadbe8644ae24c15783023c1a7d1759bef8ceba0 /docs/libcurl/gnurl_share_setopt.3
parent131de33cbc807bcf921946d5e763e0e7ecf15a8d (diff)
parent62c07b5743490ce373910f469abc8cdc759bec2b (diff)
downloadgnurl-054e207acc8623ec793c8e7a0e7d01f5aa1423b8.tar.gz
gnurl-054e207acc8623ec793c8e7a0e7d01f5aa1423b8.tar.bz2
gnurl-054e207acc8623ec793c8e7a0e7d01f5aa1423b8.zip
Merge tag 'curl-7_57_0'
curl 7.57.0
Diffstat (limited to 'docs/libcurl/gnurl_share_setopt.3')
-rw-r--r--docs/libcurl/gnurl_share_setopt.39
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/libcurl/gnurl_share_setopt.3 b/docs/libcurl/gnurl_share_setopt.3
index 9e06b9d38..57fb7d9e5 100644
--- a/docs/libcurl/gnurl_share_setopt.3
+++ b/docs/libcurl/gnurl_share_setopt.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2017, 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
@@ -70,6 +70,13 @@ object. This will reduce the time spent in the SSL handshake when reconnecting
to the same server. Note SSL session IDs are reused within the same easy handle
by default. Note this symbol was added in 7.10.3 but was not implemented until
7.23.0.
+.IP CURL_LOCK_DATA_CONNECT
+Put the connection cache in the share object and make all easy handles using
+this share object share the connection cache. Using this, you can for example
+do multi-threaded libcurl use with one handle in each thread, and yet have a
+shared pool of unused connections and this way get way better connection
+re-use than if you use one separate pool in each thread. Support for this was
+added in 7.57.0, but the symbol existed long before this.
.RE
.IP CURLSHOPT_UNSHARE
This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that