]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw:add a s3 API of make torrent for a object 10396/head
authorzhouruisong <236131368@qq.com>
Wed, 8 Jun 2016 08:45:03 +0000 (16:45 +0800)
committerzhouruisong <236131368@qq.com>
Tue, 26 Jul 2016 07:38:26 +0000 (15:38 +0800)
commit6c2b6cebc7f5d7cae31b2f328fba2381cc4def85
treeffee07bb227b01cf178aeec3d1a8d49ac6efd079
parent2dbff88acca908ada027560bb1f66872064bf5c8
rgw:add a s3 API of make torrent for a object

When you execute the command gettorrent of a object, a torrent file will be produced and returned.
The torrent also will be save into a pool named default.rgw.torrent.
If the torrent of a object exists in default.rgw.torrent, it will be returned.

Signed-off-by: zhouruisong <236131368@qq.com>
src/common/config_opts.h
src/rgw/CMakeLists.txt
src/rgw/Makefile.am
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc
src/rgw/rgw_torrent.cc [new file with mode: 0644]
src/rgw/rgw_torrent.h [new file with mode: 0644]
src/test/Makefile-client.am
src/test/rgw/CMakeLists.txt
src/test/rgw/test_rgw_bencode.cc [new file with mode: 0644]