From: Artem Vasiliev Date: Mon, 1 Jul 2024 16:39:58 +0000 (+0300) Subject: rgw: Changed discard buffer size X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b81cf7aec15dfe8618e718e74fdf92d676b61f5e;p=ceph.git rgw: Changed discard buffer size Signed-off-by: Artem Vasilev (cherry picked from commit d702c398c19f365372d00121508c15d7838cc5ea) --- 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();