]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Fix bug that was appending extra NULL character to JSON input.
authorJesse F. Williamson <jfw@ibm.com>
Wed, 14 Jan 2026 23:16:39 +0000 (15:16 -0800)
committerJesse F. Williamson <jfw@ibm.com>
Wed, 14 Jan 2026 23:16:39 +0000 (15:16 -0800)
Signed-off-by: Jesse F. Williamson <jfw@ibm.com>
src/rgw/rgw_rest_client.cc

index 41bbbebd7b275473c8c8beed0aa132c8b7a78368..7107c62f8e52e1ce6a12e80e03f0cf81f0311572 100644 (file)
@@ -466,8 +466,6 @@ auto RGWRESTSimpleRequest::forward_request(const DoutPrefixProvider *dpp, const
     return tl::unexpected(-ERR_SERVICE_UNAVAILABLE);
   }
 
-  response.append((char)0); /* NULL terminate response */
-
   if (outbl) {
     *outbl = std::move(response);
   }