]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: link_pending_requests() fixes
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 14 Jan 2016 00:36:21 +0000 (16:36 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:55 +0000 (16:13 -0800)
commit22faa002a75b11f2eb4850b060ee668bcc11c18e
tree03ad16ceb213a6c186cf6b6b803c4e474adf199c
parentee9f2065042f890f5f08312e66611c9d3c086516
rgw: link_pending_requests() fixes

set aside the list of reqs we need to finish, and only then iterate
through that list and finish. Otherwise we corrupt the reqs map. Also
clear reqs map on shutdown so that we don't end up clearing it twice
in certain cases.

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