From: Artem Vasiliev Date: Mon, 1 Jul 2024 16:39:58 +0000 (+0300) Subject: rgw: Changed discard buffer size X-Git-Tag: v19.2.3~50^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f7751de92a158ce9dadd1b9718c07c19b98eebfa;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 b8bcff3a06fa3..3f65ae40a8323 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -365,7 +365,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();