libcurl-share.3: the connection cache is shareable now

This commit is contained in:
Daniel Stenberg 2017-11-27 09:42:39 +01:00
parent d661b0afb5
commit 59657f53f9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2014, 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 .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -34,10 +34,9 @@ The share interface was added to enable sharing of data between curl
\&"handles". \&"handles".
.SH "ONE SET OF DATA - MANY TRANSFERS" .SH "ONE SET OF DATA - MANY TRANSFERS"
You can have multiple easy handles share data between them. Have them update You can have multiple easy handles share data between them. Have them update
and use the \fBsame\fP cookie database, DNS cache, TLS session cache! This and use the \fBsame\fP cookie database, DNS cache, TLS session cache and/or
way, each single transfer will take advantage from data updates made by the connection cache! This way, each single transfer will take advantage from data
other transfer(s). The sharing interface, however, does not share active or updates made by the other transfer(s).
persistent connections between different easy handles.
.SH "SHARE OBJECT" .SH "SHARE OBJECT"
You create a shared object with \fIcurl_share_init(3)\fP. It returns a handle You create a shared object with \fIcurl_share_init(3)\fP. It returns a handle
for a newly created one. for a newly created one.