]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Changed discard buffer size 63711/head
authorArtem Vasiliev <bladegreat@yandex.ru>
Mon, 1 Jul 2024 16:39:58 +0000 (19:39 +0300)
committerDan van der Ster <dan.vanderster@clyso.com>
Wed, 4 Jun 2025 06:30:38 +0000 (23:30 -0700)
Signed-off-by: Artem Vasilev <art.a.vasilev@tbank.ru>
(cherry picked from commit d702c398c19f365372d00121508c15d7838cc5ea)

src/rgw/rgw_asio_frontend.cc

index 98860ca1e17f853cd920223424a399522e376df9..5f97da598f039bdba866f2c80d820ce902c58f1b 100644 (file)
@@ -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<char, 1024> discard_buffer;
+      static std::array<char, 1024*1024> discard_buffer;
 
       auto& body = parser.get().body();
       body.size = discard_buffer.size();