mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 12:50:54 +02:00
async_run
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27342
This commit is contained in:
@@ -64,10 +64,10 @@ public:
|
||||
"Malformed Packet received from the Server"
|
||||
);
|
||||
|
||||
if (
|
||||
ec == asio::error::operation_aborted ||
|
||||
ec == asio::error::no_recovery
|
||||
)
|
||||
if (ec == asio::error::no_recovery)
|
||||
return _svc_ptr->cancel();
|
||||
|
||||
if (ec == asio::error::operation_aborted)
|
||||
return;
|
||||
|
||||
dispatch(control_code, first, last);
|
||||
@@ -115,6 +115,8 @@ private:
|
||||
re_auth_op { _svc_ptr }.perform(std::move(*rv));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
}
|
||||
|
||||
perform();
|
||||
|
Reference in New Issue
Block a user