diff options
| author | Lee Clagett <code@leeclagett.com> | 2020-12-29 19:58:53 -0500 |
|---|---|---|
| committer | Lee Clagett <code@leeclagett.com> | 2020-12-17 00:36:10 +0000 |
| commit | 61b6e4cc67abd61a0dbffe271ee3f355b2e772bc (patch) | |
| tree | aa63b9684b9138a6f58f18678307d353aec67c10 /tests/fuzz | |
| parent | a1eca8ca7e595f33a44cd77ac1759b2fd9f97a7d (diff) | |
| download | monzero-core-61b6e4cc67abd61a0dbffe271ee3f355b2e772bc.tar.gz monzero-core-61b6e4cc67abd61a0dbffe271ee3f355b2e772bc.tar.xz monzero-core-61b6e4cc67abd61a0dbffe271ee3f355b2e772bc.zip | |
Add aggressive restrictions to pre-handshake p2p buffer limit
Diffstat (limited to 'tests/fuzz')
| -rw-r--r-- | tests/fuzz/levin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fuzz/levin.cpp b/tests/fuzz/levin.cpp index b090c350b..079ea7dae 100644 --- a/tests/fuzz/levin.cpp +++ b/tests/fuzz/levin.cpp @@ -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; |
