Infinite loop in acceptor handler.
This commit is contained in:
parent
7dddac081e
commit
6d3e010ae7
|
@ -170,8 +170,9 @@ void server::start_accept(tcp::acceptor &acceptor, serve_mux &mux) {
|
|||
new_connection->start_read_deadline();
|
||||
new_connection->start();
|
||||
}
|
||||
if (acceptor.is_open ())
|
||||
start_accept(acceptor, mux);
|
||||
|
||||
start_accept(acceptor, mux);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue