]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix leak of curl handle on shutdown 24518/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 5 Sep 2018 20:56:41 +0000 (16:56 -0400)
committerPrashant D <pdhange@redhat.com>
Wed, 10 Oct 2018 02:46:56 +0000 (22:46 -0400)
commit24ea30e7fc1567915e30cd44f82196d38f86a279
treeecd3816c8b1f3caa8ca25e602b5d1c18eb3cd086
parent4c77b8ee009388401a33046c1eb2987d02d0a85b
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>
(cherry picked from commit dd478483962188c1805f522deb7f7c7a33c5fadb)
src/rgw/rgw_http_client.cc