]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
missed internal, apparently invalid no-length exception case
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 3 Jun 2025 16:16:28 +0000 (12:16 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 12 Jun 2025 17:36:12 +0000 (13:36 -0400)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_auth_s3.cc

index da25b580d4aef48633a3ca3cc751198413cda538..8e243d89ce6ee4f423ce47a425f42927e62f2511 100644 (file)
@@ -1074,7 +1074,7 @@ AWSv4ComplMulti::ChunkMeta::create_next(CephContext* const cct,
   if (data_length == 0 && data_field_end == metabuf) {
     ldout(cct, 20) << "AWSv4ComplMulti: cannot parse the data size"
                    << dendl;
-    throw rgw::io::Exception(EINVAL, std::system_category());
+    /* this case is no longer treated as an exception */
   }
 
   if (expect_chunk_signature) {