
30 Dec
2020
30 Dec
'20
2:34 p.m.
On Wed, Dec 30, 2020 at 6:27 AM Fariya F via Boost-users
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