...
This commit is contained in:
@@ -362,6 +362,7 @@ public:
|
||||
auto sock = co_await acc.async_accept(asio::use_awaitable);
|
||||
// start new client session
|
||||
asio::co_spawn(_asioContext, startSession(std::move(sock)), asio::detached);
|
||||
logDebug(std::format("session was spawned, start accepting new connections ..."));
|
||||
}
|
||||
|
||||
|
||||
@@ -883,6 +884,8 @@ protected:
|
||||
}
|
||||
|
||||
logInfo(std::format("Close client session: remote endpoint <{}> (thread ID = {})", r_epn, thr_id));
|
||||
|
||||
co_return;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -906,6 +909,8 @@ public:
|
||||
using mount_error_t = typename MountT::error_t;
|
||||
mount_error_t m_err;
|
||||
|
||||
auto nn = std::this_thread::get_id();
|
||||
|
||||
MccNetMessage input_msg;
|
||||
using output_msg_t = MccNetMessage<handle_message_func_result_t>;
|
||||
output_msg_t output_msg;
|
||||
|
||||
Reference in New Issue
Block a user