From b81cf7aec15dfe8618e718e74fdf92d676b61f5e Mon Sep 17 00:00:00 2001 From: Artem Vasiliev Date: Mon, 1 Jul 2024 19:39:58 +0300 Subject: [PATCH] rgw: Changed discard buffer size Signed-off-by: Artem Vasilev (cherry picked from commit d702c398c19f365372d00121508c15d7838cc5ea) --- src/rgw/rgw_asio_frontend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index 98860ca1e17f8..5f97da598f039 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -316,7 +316,7 @@ void handle_connection(boost::asio::io_context& context, // if we failed before reading the entire message, discard any remaining // bytes before reading the next while (!expect_continue && !parser.is_done()) { - static std::array discard_buffer; + static std::array discard_buffer; auto& body = parser.get().body(); body.size = discard_buffer.size(); -- 2.39.5