$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Reconnecting a SSL socket correctly
From: David Demelier (markand_at_[hidden])
Date: 2017-10-18 11:26:25
Hello,
I'm trying to reconnect a SSL socket (using ssl::stream with tcp::socket) that has been closed only remotely. It looks like a shutdown on my client causes "stream truncated" error so I have no idea how can I connect my client socket again.
I was thinking of just creating a new instance but the stream class is not copyable.
Do you have any recommandations?
Regards,
-- David