libcurl-share man page
libcurl-share — how to use the share interface
This is an overview on how to use the libcurl share interface in your C programs. There are specific man pages for each function mentioned in here.
All functions in the share interface are prefixed with curl_share.
The share interface was added to enable sharing of data between curl "handles".
One Set of Data - Many Transfers
You can have multiple easy handles share data between them. Have them update and use the same cookie database, DNS cache, TLS session cache! This 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.
curl_share_init(3), curl_share_setopt(3), curl_share_cleanup(3) libcurl-errors(3), libcurl-easy(3), libcurl-multi(3)