8 Apr
2018
8 Apr
'18
11:44 p.m.
OK, after delving into the asio::ssl code, I finally managed to do
On 7/04/2018 19:02, Alexander D. wrote: this by closing the underlying socket when async_read_some() finishes with an error. Closing the socket on read error is fairly standard practice. Otherwise you have a socket that you're not reading from (which is generally undesirable) or will be endlessly spinning with read errors (if you try to restart the read, since most errors are non-recoverable).