For example, I develope email client. I know that some servers, for example, imap.gmail.com, cache SSL sessions. So I want reuse SSL sessions (from cache on my side) to reduce server load.
I use boost::asio as network engine. Questions are:
- if boost::asio::ssl::stream doesn't use the ssl-session-cache, how can I enable it?
- if boost::asio::ssl::stream use the ssl-session-cache, how can I turn it off? :)