From 2175b688358455472ac6320bb82ac6bef7133e59 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 12 Oct 2015 17:32:21 +0200 Subject: [PATCH] rgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO. Fixes: #13452 Signed-off-by: Radoslaw Zarzynski (cherry picked from commit 66f47f35bbb4966cb289811672938b90ae6d44ae) --- src/rgw/rgw_op.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index ad467100a60f3..02545cd202837 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -724,7 +724,6 @@ int RGWGetObj::read_user_manifest_part(rgw_bucket& bucket, RGWObjEnt& ent, RGWAc off_t len = bl.length(); cur_ofs += len; - ofs += len; ret = 0; perfcounter->tinc(l_rgw_get_lat, (ceph_clock_now(s->cct) - start_time)); -- 2.39.5