- Avoid setting server encryption headers with x-amz-meta (#859)
- Remove redirectHeaders method (#857)
- Honor file pointer set in PutObject method (#856)
- Fix docs and add a validator tool for our api docs (#850)
- requestMetadata should take the md5 and sha256 with expected encodings. (#852)
- Added a new method SetUserMetadata to the PostPolicy (#839)
- Do not need to strictly validate request params in Presign API. (#832)
This PR brings in changes for
- PutObjectStream with no content-length is heavily
optimized so `mc pipe` will not run out of memory
for large uploads.
- Fixes a bug in Signature v2 for HTTP requests.
- Support us-gov-west-1 region as well.
- Auto region handling is inside minio-go now.
This PR brings following changes
- Brings streaming support for mc uploads.
- Brings support for copying objects upto 5TiB
as a consequence of ComposeObject implementation
in minio-go.
New minio-go commits are introduced:
sigv2: Do not encode canonical sub-resource value (#636)
Core.PutObject takes md5 and sha256 sums (#635)
allow bucket location responses with empty Message (fixes#629) (#630)
listen: Add support for HEAD/GET bucket events (#634)
docs: Remove extra space from code blocks (#632)
docs: Remove extra space from code blocks. (#631)
Implement a new NewWithRegion() API for static region. (#627)
Fix table syntax for SetBucketPolicy parameters (#628)
Changes needed for implementing "minio gateway s3" (#623)
Typo in variable name (#625)
api: Support encryption for Put/Get Object (#613)
api/retry: Support connection retry for Dial timeout. (#622)
Simply use
```
mc config host add s3-accel https://s3-accelerate.amazonaws.com <access_id> <secret_id>
```
This is all is needed, if you have buckets which has s3 acceleration
enabled it just works transparently.
Fixes#1912
This fixes#1889.
```sh
mc mirror -w
```
Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.
This allows for 'mc mirror -w' to run continously without
further monitoring.
Enable notification if not already set, avoid overriding
or append to existing notification set - all of this
needs to be done to make this transparent.
* Removed setting of http.Client Timeout for mc
Fixes#1719
* Moved mcDefaultTransport closer to use
* Set ResponseHeaderTimeout to 3 secs
* Vendored in changes from github.com/minio/minio-go
* Fixed CI build errors due to API changes, post vendoring
* Fixed unit tests w.r.t the change from insecure to secure in minio.NewV{2,4} API
This patch implements as decided..
To set a bucket policy.
```
mc access readonly s3/<bucket>
mc access readwrite s3/<bucket>
mc access writeonly s3/<bucket>
mc access none s3/<bucket>
```
To get a bucket policy.
```
mc access s3/<bucket>
```