From 3fdb13c151390c1ca6c996cc1194ed200aaaa610 Mon Sep 17 00:00:00 2001 From: lzydmxy <13126752315@163.com> Date: Fri, 10 May 2024 00:22:22 +0800 Subject: [PATCH] Fix miss static sent for NewSession --- src/Service/ConnectionHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Service/ConnectionHandler.cpp b/src/Service/ConnectionHandler.cpp index 4d2c3862bb..2f2c074c5d 100644 --- a/src/Service/ConnectionHandler.cpp +++ b/src/Service/ConnectionHandler.cpp @@ -502,6 +502,8 @@ bool ConnectionHandler::sendHandshake(const Coordination::ZooKeeperResponsePtr & Coordination::write(passwd, *send_buf); send_buf->next(); + packageSent(); + return success; }