]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: cloud sync crf: delete requests 21648/head
authorYehuda Sadeh <yehuda@redhat.com>
Sun, 22 Apr 2018 12:15:56 +0000 (05:15 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 25 Apr 2018 16:03:53 +0000 (09:03 -0700)
commita3ad431717829529f11b4aeddc1cae47b64199d0
treeae7fe08884cf7ce180e41cdbb5503ba1741208e9
parent096242093291f9425bef213b9c44a69b9eeecc0e
rgw: cloud sync crf: delete requests

Beside fixing a leak, this also cancels the pending request and
any future callback (that would crash). Updated the interface
to allow explicit request cancellation.

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