mirror of
https://github.com/monero-project/monero.git
synced 2026-01-10 04:05:24 -08:00
Add aggressive restrictions to pre-handshake p2p buffer limit
This commit is contained in:
@@ -178,6 +178,7 @@ namespace
|
||||
{
|
||||
using base_type = epee::net_utils::connection_context_base;
|
||||
static_cast<base_type&>(context_) = base_type{random_generator(), {}, is_incoming, false};
|
||||
context_.m_state = cryptonote::cryptonote_connection_context::state_normal;
|
||||
handler_.after_init_connection();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user