Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compression: Handle auto encryption when size is unknown (minio#7600)
When size is unknown and auto encryption is enabled, and compression is set to true, putobject API is failing. Moving adding the SSE-S3 header as part of the request to before checking if compression can be done, otherwise the size is set to -1 and that seems to cause problems.
- Loading branch information