Commit 6d3e010a authored by clemahieu's avatar clemahieu Committed by Tatsuhiro Tsujikawa

Infinite loop in acceptor handler.

parent 7dddac08
......@@ -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);
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment