mirror of
https://github.com/monero-project/monero.git
synced 2025-06-16 15:09:13 -04:00
[fix] Network 1.8: unlimited the RPC connections
works for unit tests build, too
This commit is contained in:
parent
cbddb5f690
commit
9bfa593eee
6 changed files with 134 additions and 60 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue