On Wed, Dec 30, 2020 at 6:27 AM Fariya F via Boost-users
<boost-users@lists.boost.org> wrote:
> I see that the call to ssl socket member function shutdown() blocks sometimes forever
You are mixing synchronous and asynchronous operations on the same
socket, which is generally disallowed. Use async_shutdown instead, and
also use a timer to close the socket after some time period (say, 30
seconds).
Regards