1 parent
b6014cc79b
commit
563fcc6b45
1 file changed
+5
-1
@@ -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