From 46b77cc2805b79771caad98c7feb337f0d26e259 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 9 Apr 2022 14:40:38 -0400 Subject: [PATCH] increase RouterInfo buffer size --- libi2pd/RouterInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/RouterInfo.h b/libi2pd/RouterInfo.h index c9862c99..695e7496 100644 --- a/libi2pd/RouterInfo.h +++ b/libi2pd/RouterInfo.h @@ -57,7 +57,7 @@ namespace data const uint8_t COST_SSU_THROUGH_INTRODUCERS = 11; const uint8_t COST_SSU2_NON_PUBLISHED = 15; - const size_t MAX_RI_BUFFER_SIZE = 2048; // if RouterInfo exceeds 2048 we consider it as malformed, might be changed later + const size_t MAX_RI_BUFFER_SIZE = 3072; // if RouterInfo exceeds 3K we consider it as malformed, might extend later class RouterInfo: public RoutingDestination { public: