aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-31 16:51:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2021-01-03 14:07:45 +0000
commitb652d598d1ed3215150e970dae9673db96c3e39d (patch)
treea22bdfdc6a465801368931d4e08c46315ae1f764 /src/p2p
parentMerge pull request #7250 (diff)
downloadmonero-b652d598d1ed3215150e970dae9673db96c3e39d.tar.xz
add a max levin packet size by command type
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 487e89923..72f0dc221 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -2633,6 +2633,7 @@ namespace nodetool
void node_server<t_payload_net_handler>::on_connection_new(p2p_connection_context& context)
{
MINFO("["<< epee::net_utils::print_connection_context(context) << "] NEW CONNECTION");
+ m_payload_handler.on_connection_new(context);
}
//-----------------------------------------------------------------------------------
template<class t_payload_net_handler>