mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 02:57:56 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user