]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 12 Oct 2015 15:32:21 +0000 (17:32 +0200)
committerNathan Cutler <ncutler@suse.com>
Sun, 13 Nov 2016 10:06:02 +0000 (11:06 +0100)
Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 66f47f35bbb4966cb289811672938b90ae6d44ae)

src/rgw/rgw_op.cc

index ad467100a60f37c5c042d43678f39e6cda47d9df..02545cd202837bd2d22f076b5ff0831b2cf057f0 100644 (file)
@@ -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));