]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: dont access rgw_http_req_data::client of canceled request 23988/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 7 Sep 2018 21:01:25 +0000 (17:01 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 7 Sep 2018 21:01:28 +0000 (17:01 -0400)
commitcdc876a3c5e3e8874c633b9355dfea51c1ee3bdf
tree1def9784cbd2c9f6635de1c43da1ed77d8457db8
parent61a2a74eb28eda82386da3249cb63cbc0cdb3930
rgw: dont access rgw_http_req_data::client of canceled request

if a request has been canceled with RGWHTTPClient::cancel(), the client
may have been destroyed. check req_data->registered before reading
from req_data->client->receive_pause_skip

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