]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Got rid of most bare pointers => now mostly unique_ptr.
authorAdam Kupczyk <akupczyk@mirantis.com>
Fri, 5 Aug 2016 12:21:51 +0000 (14:21 +0200)
committerAdam Kupczyk <akupczyk@mirantis.com>
Wed, 5 Apr 2017 16:31:17 +0000 (18:31 +0200)
commit30ac834429ac2ef1ca0365a717092ec72f1813e0
tree07625ec238c91bebc2a3af3e557d2f66a0ee9805
parentdbbf052fa00ddf12731aac75b0570760e7564ea5
Got rid of most bare pointers => now mostly unique_ptr.
Fixed bugs that appeared on unit tests. Added unit tests.
These are created to improve code coverage achieved using s3-tests.
Added comments and improved formatting.
Fixed improper processing when last 0-15 bytes are decoded alone.
Fixed problem with PUT with x-amz-copy-source when source object is compressed.
Fixed problem with not decrypting data on S3 copy operation
Fixed problem with syncing when object is compressed and encrypted at the same time.
Fixed retrieving original length when compression is on.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
src/rgw/rgw_crypt.cc
src/rgw/rgw_crypt.h
src/rgw/rgw_keystone.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h
src/test/rgw/CMakeLists.txt
src/test/rgw/test_rgw_crypto.cc [new file with mode: 0644]