From: Yehuda Sadeh Date: Sat, 31 Jan 2015 02:42:40 +0000 (-0800) Subject: rgw: flush xml header on get acl request X-Git-Tag: v0.92~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3555%2Fhead;p=ceph.git rgw: flush xml header on get acl request Fixes: #10106 Backport: firefly, giant dump_start() updates the formatter with the appropriate prefix, however, we never flushed the formatter. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 7fafd5994f15..69643afeec37 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -1323,6 +1323,7 @@ void RGWGetACLs_ObjStore_S3::send_response() dump_errno(s); end_header(s, this, "application/xml"); dump_start(s); + rgw_flush_formatter(s, s->formatter); s->cio->write(acls.c_str(), acls.size()); }