1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 21:15:08 -05:00

libcurl-share.3: update what it does and does not share.

Update sharing interface documentation to provide exhaustive list of
what it does and does not share.
This commit is contained in:
David Strauss 2013-04-11 20:36:43 +02:00 committed by Daniel Stenberg
parent 1d1ffaf912
commit 8ffbeeda80

View File

@ -34,8 +34,10 @@ 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 or DNS cache! This way, each single and use the \fBsame\fP cookie database, DNS cache, TLS session cache! This
transfer will take advantage from data updates made by the other transfer(s). way, each single transfer will take advantage from data updates made by the
other transfer(s). The sharing interface, however, does not share active or
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.