Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support #10167

Merged
merged 4 commits into from Aug 22, 2016

Commits on Jul 29, 2016

  1. rgw: add handling of memory allocation failure in AWS4 auth.

    Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
    (cherry picked from commit ddbb0ab)
    rzarzynski authored and jmunhoz committed Jul 29, 2016
    Copy the full SHA
    2c422e3 View commit details
    Browse the repository at this point in the history
  2. rgw: use std::unique_ptr for rgw_aws4_auth management.

    This is purely for code maintainability.
    
    Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
    (cherry picked from commit 6f273eb)
    rzarzynski authored and jmunhoz committed Jul 29, 2016
    Copy the full SHA
    276ec72 View commit details
    Browse the repository at this point in the history
  3. 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>
    (cherry picked from commit 5de5876)
    
    Conflicts:
    	src/rgw/rgw_rest_s3.cc
    
    No change required to resolve the conflict. Manual merge was enough.
    jmunhoz committed Jul 29, 2016
    Copy the full SHA
    8cd7f44 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2016

  1. rgw: aws4: fix buffer sharing issue with chunked uploads

    Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
    (cherry picked from commit dd9f531)
    jmunhoz committed Jul 30, 2016
    Copy the full SHA
    429e9c0 View commit details
    Browse the repository at this point in the history