2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-28 06:42:08 +00:00

Merge asio from trunk.

[SVN r72428]
This commit is contained in:
Christopher Kohlhoff
2011-06-05 23:21:43 +00:00
parent 0a10f19dbf
commit b91e7a6f65
389 changed files with 52957 additions and 8483 deletions

View File

@@ -199,11 +199,12 @@ public:
if (!error)
{
new_session->start();
new_session.reset(new session(io_service_));
acceptor_.async_accept(new_session->socket(),
boost::bind(&server::handle_accept, this, new_session,
boost::asio::placeholders::error));
}
new_session.reset(new session(io_service_));
acceptor_.async_accept(new_session->socket(),
boost::bind(&server::handle_accept, this, new_session,
boost::asio::placeholders::error));
}
private: