Open masoomshaikh opened 1 year ago
This happens when a TLS connection is aborted by calling ssl::stream<tcp::socket>::lowest_layer().close()
ssl::stream<tcp::socket>::async_read_some()
invokes the callback with this error.
currently using this way!
#if _WIN32
// net::error::connection_aborted is not mapped
if (ec.value() == ERROR_CONNECTION_ABORTED) {
return;
}
#endif
@masoomshaikh Please tell me, without this PR, what kind of errors can there be when using asio?