From ce5d5b7f6e296189f020819a7dccb39f97c782fc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 15 May 2019 17:40:03 +0800 Subject: [PATCH] 1 --- server/wsproxy/mastersvrmgr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/wsproxy/mastersvrmgr.cc b/server/wsproxy/mastersvrmgr.cc index f1ccf6c..710cea6 100644 --- a/server/wsproxy/mastersvrmgr.cc +++ b/server/wsproxy/mastersvrmgr.cc @@ -52,6 +52,8 @@ void MasterSvrMgr::RequestTargetServer(f8::MsgHdr& hdr, const std::string& team_ msg.set_team_id(team_id); svr->SendMsg(msg); pending_socket_hash_[hdr.socket_handle] = curr_context_id_; + assert(pending_request_hash_.find(curr_context_id_) == pending_request_hash_.end()); + pending_request_hash_[curr_context_id_] = hdr.Clone(); } }