mirror of
https://github.com/monero-project/monero.git
synced 2026-01-19 19:12:59 +01:00
[fix] Network 1.8: unlimited the RPC connections
works for unit tests build, too
This commit is contained in:
@@ -94,6 +94,18 @@ namespace epee
|
||||
namespace net_utils
|
||||
{
|
||||
|
||||
std::string to_string(t_connection_type type)
|
||||
{
|
||||
if (type == e_connection_type_NET)
|
||||
return std::string("NET");
|
||||
else if (type == e_connection_type_RPC)
|
||||
return std::string("RPC");
|
||||
else if (type == e_connection_type_P2P)
|
||||
return std::string("P2P");
|
||||
|
||||
return std::string("UNKNOWN");
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user