]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
Resolves: rhbz#2392604

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit be1f82f94964fa9fb64f990bb471a4a1addb8b14)

src/rgw/rgw_auth_s3.cc

index abac5c1b34370931671525d8d12a6f34a07d2c6d..3cee81c97d2e20f9924f9a0e4694d6b9db64dda7 100644 (file)
@@ -1076,7 +1076,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) {