libcurl's share object lets multiple handles swap cookies, DNS cache, and SSL sessions without storing them separately in each transfer.
Everything curl: libcurl helpers
Transcript: generated from the open-source book by Daniel Stenberg.
Source: https://github.com/bagder/everything-curl