From: Sage Weil Date: Sun, 27 Jan 2019 16:10:49 +0000 (-0600) Subject: msg/async/ProtocolV2: clear dispatch throttle on connection stop X-Git-Tag: v14.1.0~271^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24546%2Fhead;p=ceph.git msg/async/ProtocolV2: clear dispatch throttle on connection stop This aligns us with the ProtocolV1 implementation. Signed-off-by: Sage Weil --- diff --git a/src/msg/async/ProtocolV2.cc b/src/msg/async/ProtocolV2.cc index a7381ff325c..b7d413e8478 100644 --- a/src/msg/async/ProtocolV2.cc +++ b/src/msg/async/ProtocolV2.cc @@ -515,6 +515,7 @@ void ProtocolV2::stop() { std::lock_guard l(connection->write_lock); + reset_recv_state(); discard_out_queue(); connection->_stop();