@@ -326,7 +326,11 @@ protected:
|
||||
}
|
||||
|
||||
void async_shutdown(socket::shutdown_handler callback) {
|
||||
m_socket->async_shutdown(callback);
|
||||
if (m_strand) {
|
||||
m_socket->async_shutdown(m_strand->wrap(callback));
|
||||
} else {
|
||||
m_socket->async_shutdown(callback);
|
||||
}
|
||||
}
|
||||
|
||||
/// Translate any security policy specific information about an error code
|
||||
|
||||
Reference in New Issue
Block a user