From: Artem Vasiliev Date: Mon, 1 Jul 2024 16:39:58 +0000 (+0300) Subject: rgw: Changed discard buffer size X-Git-Tag: v20.0.0~1601^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d702c398c19f365372d00121508c15d7838cc5ea;p=ceph.git rgw: Changed discard buffer size Signed-off-by: Artem Vasilev --- diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index ace3b7aff49e..8ce99fdf05d5 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -323,7 +323,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();