]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: send Content-Length in response for HEAD on Swift account. 4579/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Sun, 8 Mar 2015 21:45:34 +0000 (22:45 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 6 May 2015 19:17:27 +0000 (21:17 +0200)
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 29073d84640b61d0221b2d2ab73c271d60fd13ba)

src/rgw/rgw_rest_swift.cc

index 66829fcb2f1729eef122cb74bd0ee4bb8c2c1f8a..386511c1e6f677479713dd0df101302b0db16928 100644 (file)
@@ -288,7 +288,7 @@ void RGWStatAccount_ObjStore_SWIFT::send_response()
   set_req_state_err(s, ret);
   dump_errno(s);
 
-  end_header(s, NULL);
+  end_header(s, NULL, NULL, 0);
   dump_start(s);
 }