async read from socket

This commit is contained in:
Антон 2024-04-05 08:14:50 +03:00
parent 9632b749f4
commit cf37d36353
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void Callback(const boost::system::error_code& ec,
void ReadFromSocket(std::shared_ptr<net::ip::tcp::socket> sock)
{
auto s = make_unique<session>();
auto s = make_shared<session>();
const uint32_t message_size = 7;