]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add factory function create_etag_verifier()
authorCasey Bodley <cbodley@redhat.com>
Fri, 18 Sep 2020 00:58:36 +0000 (20:58 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 28 Jan 2021 15:46:29 +0000 (16:46 +0100)
commit2c5835730c7b4d9b97af3947dd6ec93fb7b572d9
treea4745b329dcda6c1bd3e5055adf5d46dc5029f1c
parent351f14f797804c4d366dfad236c74a323aceade6
rgw: add factory function create_etag_verifier()

move all of the etag verifier initialization into a helper function.
none of the errors there should be fatal and fail the download, they
should just turn etag verification off

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8fa8974bbd63fbc8be9cdf929a875910e2147d65)
src/rgw/rgw_etag_verifier.cc
src/rgw/rgw_etag_verifier.h
src/rgw/rgw_rados.cc