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: v10.0.2~36^2~23 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66f47f35bbb4966cb289811672938b90ae6d44ae;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 --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 8abced98fa7..a0ccc48e5ec 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -714,7 +714,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));