mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Make running out of file descriptors non fatal.
Fix a bug that kills the RPC door if it gets a prohibited connection
This commit is contained in:
@@ -7,7 +7,9 @@ Handles incoming connections from people making RPC Requests
|
||||
|
||||
class RPCDoor
|
||||
{
|
||||
boost::asio::ip::tcp::acceptor mAcceptor;
|
||||
boost::asio::ip::tcp::acceptor mAcceptor;
|
||||
boost::asio::deadline_timer mDelayTimer;
|
||||
|
||||
void startListening();
|
||||
void handleConnect(RPCServer::pointer new_connection,
|
||||
const boost::system::error_code& error);
|
||||
|
||||
Reference in New Issue
Block a user