mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 11:26:11 -04:00
Add aggressive restrictions to pre-handshake p2p buffer limit
This commit is contained in:
parent
a1eca8ca7e
commit
61b6e4cc67
10 changed files with 40 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue