From c82c77e89a778019ddf88278ba4a37eaadd84108 Mon Sep 17 00:00:00 2001 From: azw Date: Thu, 13 Apr 2023 23:41:30 +0000 Subject: [PATCH] 1 --- server/wsproxy/mastermgr.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/wsproxy/mastermgr.cc b/server/wsproxy/mastermgr.cc index c6a258e..6db52e4 100644 --- a/server/wsproxy/mastermgr.cc +++ b/server/wsproxy/mastermgr.cc @@ -66,6 +66,10 @@ void MasterMgr::_SS_MS_ResponseTargetServer(f8::MsgHdr& hdr, const ss::SS_MS_Res conn->ForwardClientMsgEx(req->hdr_copy); req->conn = conn; req->hdr_copy = nullptr; + if (!req->timer_wp.expired()) { + f8::Timer::Instance()->FireEvent(req->timer_wp, ALLOC_TARGET_SERVER_SUCCESS_TIMER_EVENT, nullptr); + f8::Timer::Instance()->Delete(req->timer_wp); + } RemoveRequest(req->socket_handle); return; } else {