]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix leak of curl handle on shutdown 23986/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 5 Sep 2018 20:56:41 +0000 (16:56 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 7 Sep 2018 20:05:25 +0000 (16:05 -0400)
commitdd478483962188c1805f522deb7f7c7a33c5fadb
treea773c92a5f52330c16bb6097107fd4a9276902cc
parent1af938a99acde4e3d70f378db336ccaf5290be0d
rgw: fix leak of curl handle on shutdown

addresses a valgrind leak reported from curl_multi_add_handle().
requests that are still linked to the curl_multi handle need to be
unlinked and finished with ECANCELED, rather than just finished

Fixes: http://tracker.ceph.com/issues/35715
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_http_client.cc