From: Radoslaw Zarzynski Date: Tue, 25 Apr 2017 10:22:54 +0000 (+0200) Subject: rgw: fix RadosGW hang during multi-chunk upload of AWSv4. X-Git-Tag: v12.0.3~156^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=72c1e2e351d984d0425a20f2c772951cbc36f13e;p=ceph-ci.git rgw: fix RadosGW hang during multi-chunk upload of AWSv4. Fixes: http://tracker.ceph.com/issues/19754 Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 465f1e82b2d..d6dfb6506a4 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -3027,7 +3027,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();