]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw:add a s3 API of make torrent for a object 10395/head 9589/head
authorzhouruisong <236131368@qq.com>
Wed, 8 Jun 2016 08:45:03 +0000 (16:45 +0800)
committerzhouruisong <236131368@qq.com>
Wed, 6 Jul 2016 08:58:47 +0000 (16:58 +0800)
commit53d28295206fd2073a9d7a4852b42e53b486b088
tree3298af05520e3df980559935d24afabf6db5a679
parentb342bf8ea127dae39cfdaa6558a77640905890f5
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/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]