mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 19:24:52 -04:00
Add aggressive restrictions to pre-handshake p2p buffer limit
This commit is contained in:
parent
36dfd41e01
commit
7d67a2dde0
10 changed files with 40 additions and 11 deletions
|
@ -52,6 +52,8 @@ namespace
|
|||
|
||||
struct test_levin_connection_context : public epee::net_utils::connection_context_base
|
||||
{
|
||||
static constexpr int handshake_command() noexcept { return 1001; }
|
||||
static constexpr bool handshake_complete() noexcept { return true; }
|
||||
};
|
||||
|
||||
typedef epee::levin::async_protocol_handler_config<test_levin_connection_context> test_levin_protocol_handler_config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue