sets listen limit back to non-debug value

High values leave the server open to DoS attacks.
This commit is contained in:
Peter Thorson
2012-01-16 11:20:10 -06:00
parent 609e6f3eaf
commit 656dbfa3ec

View File

@@ -214,7 +214,7 @@ void server<endpoint>::listen(uint16_t port) {
m_acceptor.open(m_endpoint.protocol());
m_acceptor.set_option(boost::asio::socket_base::reuse_address(true));
m_acceptor.bind(m_endpoint);
m_acceptor.listen(200000);
m_acceptor.listen();
this->start_accept();