From 9bfa593eee5a528c70dfaed39feb140a7b10e8b5 Mon Sep 17 00:00:00 2001 From: rfree2monero Date: Wed, 8 Apr 2015 19:54:07 +0200 Subject: [fix] Network 1.8: unlimited the RPC connections works for unit tests build, too --- contrib/epee/include/net/http_server_impl_base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/epee/include/net/http_server_impl_base.h') diff --git a/contrib/epee/include/net/http_server_impl_base.h b/contrib/epee/include/net/http_server_impl_base.h index 97a7ebc56..10f74b9a8 100644 --- a/contrib/epee/include/net/http_server_impl_base.h +++ b/contrib/epee/include/net/http_server_impl_base.h @@ -45,7 +45,7 @@ namespace epee public: http_server_impl_base() - : m_net_server() + : m_net_server(epee::net_utils::e_connection_type_RPC) {} explicit http_server_impl_base(boost::asio::io_service& external_io_service) @@ -75,6 +75,7 @@ namespace epee { //go to loop LOG_PRINT("Run net_service loop( " << threads_count << " threads)...", LOG_LEVEL_0); + _fact_c("net/RPClog", "Run net_service loop( " << threads_count << " threads)..."); if(!m_net_server.run_server(threads_count, wait)) { LOG_ERROR("Failed to run net tcp server!"); -- cgit v1.2.3