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

rgw: bug fix #8

Merged
merged 7 commits into from Jan 2, 2018
Merged

Commits on Dec 14, 2017

  1. rgw: use GMT time format defined by RFC1123 in http request header

    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    492e55a View commit details
    Browse the repository at this point in the history
  2. rgw: add encode_slash param in url_encode

    when sent request to S3, we should not encode the forward
    slash character('/') in the object key name, so we need add
    a encode_slash param in url_encode to decide whether to encode
    the slash or not.
    
    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    eff7846 View commit details
    Browse the repository at this point in the history
  3. rgw: RGWRESTStreamRWRequest::send_prepare(), url encode dest

    encode the resource in send_prepare(), as a result, all the callers
    to do_send_prepare() have do url_encode before calling it.
    
    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    3f733be View commit details
    Browse the repository at this point in the history
  4. rgw: virtual hosted-style support

    add host-style field in tier-config to specify the related
    zone's hosted-style used in request from RGW, if this config
    is not specified, path hosted-style will be used as default.
    
    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    d519528 View commit details
    Browse the repository at this point in the history
  5. rgw: add a bucket-suffix tier-config

    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    cebd793 View commit details
    Browse the repository at this point in the history
  6. rgw: avoid use Chunked transfer encoding in RGW's request

    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    aba9f4e View commit details
    Browse the repository at this point in the history
  7. rgw: handle the situation that get a 409 response from S3 correctly

    pass the http body and use it when creating a bucket
    
    Signed-off-by: lvshanchun <lvshanchun@gmail.com>
    Leeshine committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    1bb6669 View commit details
    Browse the repository at this point in the history