Merge pull request #14770 from rzarzynski/wip-rgw-19754

rgw: fix RadosGW hang during multi-chunk upload of AWSv4.
This commit is contained in:
Matt Benjamin 2017-05-01 10:09:10 -04:00 committed by GitHub
commit 1c9a48cec8

View File

@ -3028,7 +3028,7 @@ void RGWPutObj::execute()
}
bufferlist &data = data_in;
if (s->aws4_auth_streaming_mode) {
if (len && s->aws4_auth_streaming_mode) {
/* use unwrapped data */
data = s->aws4_auth->bl;
len = data.length();