Commit aad3e275 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Merge branch 'clemahieu-acceptor_infinite_loop'

parents 7dddac08 1649948e
......@@ -170,8 +170,9 @@ void server::start_accept(tcp::acceptor &acceptor, serve_mux &mux) {
new_connection->start_read_deadline();
new_connection->start();
}
start_accept(acceptor, mux);
if (acceptor.is_open()) {
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