mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
rgw: aws4: fix buffer sharing issue with chunked uploads
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
This commit is contained in:
parent
780925c4a2
commit
dd9f53115a
@ -2647,13 +2647,11 @@ void RGWPutObj::execute()
|
||||
if (!len)
|
||||
break;
|
||||
|
||||
bufferlist data;
|
||||
bufferlist &data = data_in;
|
||||
if (s->aws4_auth_streaming_mode) {
|
||||
/* use unwrapped data */
|
||||
data = s->aws4_auth->bl;
|
||||
len = data.length();
|
||||
} else {
|
||||
data = data_in;
|
||||
}
|
||||
|
||||
/* do we need this operation to be synchronous? if we're dealing with an object with immutable
|
||||
|
Loading…
Reference in New Issue
Block a user