]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: cloud sync: sign requests that read source objs
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 26 Aug 2022 13:56:38 +0000 (09:56 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 26 Aug 2022 13:56:38 +0000 (09:56 -0400)
commite28043f7af1b116c2d6b1f577033ba3b4a744f1d
tree47edfbe9238ad61ead1a3c5d2c73c612f7119969
parentae677264411f80a5587164c48a6a17390eaf72c9
rgw: cloud sync: sign requests that read source objs

Fixes: https://tracker.ceph.com/issues/57307
Requests that were sent to fetch the objects from the source zone weren't
being signed. Changing the interface to use rRGWRESTStreamRWRequest::send()
that signs the requests.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_cr_rest.cc
src/rgw/rgw_rest_client.cc
src/rgw/rgw_rest_client.h