18 Oct
2017
18 Oct
'17
4:22 p.m.
On Wed, Oct 18, 2017 at 4:26 AM, David Demelier via Boost-users
Do you have any recommandations?
Put the stream inside a boost::optional and call emplace when you want to construct it or reconnect: boost::optional< boost::asio::ssl::stream< boost::asio::ip::tcp::socket>> stream; stream.emplace(ios, ctx); Thanks