From: Radoslaw Zarzynski Date: Mon, 12 Oct 2015 15:32:21 +0000 (+0200) Subject: rgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO. X-Git-Tag: v0.94.10~59^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2175b688358455472ac6320bb82ac6bef7133e59;p=ceph.git 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) --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index ad467100a60..02545cd2028 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));