]> git-server-git.apps.pok.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)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 8 Dec 2015 16:57:21 +0000 (17:57 +0100)
Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_op.cc

index 8abced98fa79149885e17d7b636c154443607054..a0ccc48e5ec39642639be72900ec15992a558df4 100644 (file)
@@ -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));