Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
using peer_type_t = int;
using auth_proto_t = int;
+class AuthConnectionMeta;
+using AuthConnectionMetaRef = seastar::lw_shared_ptr<AuthConnectionMeta>;
+
namespace ceph::net {
using msgr_tag_t = uint8_t;
#include "Protocol.h"
+#include "auth/Auth.h"
+
#include "crimson/common/log.h"
#include "Socket.h"
#include "SocketConnection.h"
SocketConnection& conn)
: proto_type(type),
dispatcher(dispatcher),
- conn(conn) {}
+ conn(conn),
+ auth_meta{seastar::make_lw_shared<AuthConnectionMeta>()}
+{}
Protocol::~Protocol()
{
SocketFRef socket;
seastar::gate pending_dispatch;
+ AuthConnectionMetaRef auth_meta;
// write_state is changed with state atomically, indicating the write
// behavior of the according state.