]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: send Content-Length in response for DELETE on Swift container.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 6 Mar 2015 12:18:19 +0000 (13:18 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 8 Jul 2015 14:12:42 +0000 (16:12 +0200)
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit d260a93405a7a34a899f716bd9c4e731baa9ffd0)

src/rgw/rgw_rest_swift.cc

index 69b66cb530d736385695db24ae9494c400e5ba46..57821b73241df56629a479d5491e25daa6671209 100644 (file)
@@ -389,7 +389,7 @@ void RGWDeleteBucket_ObjStore_SWIFT::send_response()
 
   set_req_state_err(s, r);
   dump_errno(s);
-  end_header(s, this);
+  end_header(s, this, NULL, 0);
   rgw_flush_formatter_and_reset(s, s->formatter);
 }