| 122 | |
| 123 | private: |
| 124 | void start_accept() |
| 125 | { |
| 126 | connection::pointer new_connection = |
| 127 | connection::create(acceptor_.get_executor().context(), filename_); |
| 128 | |
| 129 | acceptor_.async_accept(new_connection->socket(), |
| 130 | std::bind(&server::handle_accept, this, new_connection, |
| 131 | boost::asio::placeholders::error)); |
| 132 | } |
| 133 | |
| 134 | void handle_accept(connection::pointer new_connection, |
| 135 | const boost::system::error_code& error) |
nothing calls this directly
no test coverage detected