Merge branch 'dev'

This commit is contained in:
Viacheslav Demydiuk
2025-10-06 12:08:02 +03:00
2 changed files with 6 additions and 1 deletions
+6
View File
@@ -107,6 +107,12 @@ void MtConnection::OnRead(
return;
}
if (ec == boost::asio::error::eof)
{
log_.Info("%s: %s. Remote peer gracefully closes the connection.", __FUNCTION__, ec.message().c_str());
return;
}
if (ec)
{
log_.Error("%s: %s", __FUNCTION__, ec.message().c_str());
-1
View File
@@ -44,6 +44,5 @@ private:
std::string host_;
std::string read_text_;
boost::beast::flat_buffer read_buffer_;
//std::string send_text_;
std::queue<std::string> send_queue_;
};