MCPcopy Create free account
hub / github.com/ceph/ceph / reset_security

Method reset_security

src/msg/async/ProtocolV2.cc:239–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void ProtocolV2::reset_security() {
240 ldout(cct, 5) << __func__ << dendl;
241
242 auth_meta.reset(new AuthConnectionMeta);
243 session_stream_handlers.rx.reset(nullptr);
244 session_stream_handlers.tx.reset(nullptr);
245 pre_auth.rxbuf.clear();
246 pre_auth.txbuf.clear();
247}
248
249// it's expected the `write_lock` is held while calling this method.
250void ProtocolV2::reset_recv_state() {

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected