This commit is contained in:
2025-11-13 17:56:51 +03:00
parent b3a257fab6
commit 94fb4c6a48
7 changed files with 182 additions and 197 deletions

View File

@@ -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;