]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: get torrent request's parameter is not the same as amazon s3. 13760/head
authorZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Fri, 3 Mar 2017 03:16:22 +0000 (11:16 +0800)
committerZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Thu, 9 Mar 2017 03:37:02 +0000 (11:37 +0800)
Fixes: http://tracker.ceph.com/issues/19136
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
PendingReleaseNotes
src/rgw/rgw_torrent.h

index fbe482e228c9730d0e2f7c25812e8a00d8ade73e..0b367b9485ea5bb8d932f256412fb09ca819a497 100644 (file)
@@ -69,3 +69,7 @@
 * The rados copy-get-classic operation has been removed since it has not been
   used by the OSD since before hammer.  It is unlikely any librados user is
   using this operation explicitly since there is also the more modern copy-get.
+
+* The RGW api for getting object torrent has changed its params from 'get_torrent'
+  to 'torrent' so that it can be compatible with Amazon S3. Now the request for 
+  object torrent is like 'GET /ObjectName?torrent'.
index 268d2671c245ab3c825281f51f66943dce7f8471..6d2b28cd91a34c4382b6aa8e4dcf23899cf6381d 100644 (file)
@@ -29,7 +29,7 @@ struct req_state;
 #define PIECE_LENGTH       "piece length"
 #define PIECES             "pieces"
 #define INFO_PIECES        "info"
-#define GET_TORRENT        "get_torrent"
+#define GET_TORRENT        "torrent"
 
 class TorrentBencode
 {