Compression: Handle auto encryption when size is unknown (#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.master
parent
033f3a4d51
commit
4b858b562a
Loading…
Reference in new issue