]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support 9484/head
authorJavier M. Mellid <jmunhoz@igalia.com>
Fri, 3 Jun 2016 15:34:10 +0000 (17:34 +0200)
committerJavier M. Mellid <jmunhoz@igalia.com>
Fri, 3 Jun 2016 15:34:10 +0000 (17:34 +0200)
commit5de5876a535537f7878615898bb9cf7887204cb1
tree4fc0280bc1d06751d077121e610b03a96e78cd96
parent375c09c21c2dd7be34f87be5f16c961340b2c7d3
rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support

When authenticating requests using the Authorization header in AWS4, you have
the option of uploading the payload in chunks. You can send data in fixed size
or variable size chunks.

This patch enables streaming mode and signed headers support with chunked
uploads.

Fixes: http://tracker.ceph.com/issues/16146
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
src/rgw/rgw_auth_s3.cc
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h