From 903b27f875e5f2a872c1b309f354b18c0450f35a Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 04 六月 2021 11:46:18 +0800 Subject: [PATCH] allow tcp request with no dest, auto query topic. --- box/node_center.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/box/node_center.h b/box/node_center.h index 461a354..74dd52f 100644 --- a/box/node_center.h +++ b/box/node_center.h @@ -121,7 +121,7 @@ void RecordMsg(const MsgI &msg); bool SendAllocReply(ShmSocket &socket, const MQInfo &dest, const int64_t reply, const MsgI &msg); bool SendAllocMsg(ShmSocket &socket, const MQInfo &dest, const MsgI &msg); - bool PassRemoteRequestToLocal(const MQInfo &dest, BHMsgHead &head, const std::string &body_content, ShmSocket::RecvCB &&cb); + bool PassRemoteRequestToLocal(MQInfo dest, BHMsgHead &head, const std::string &body_content, ShmSocket::RecvCB &&cb); bool PassRemoteReplyToLocal(const MQInfo &dest, BHMsgHead &head, const std::string &body_content); void OnAlloc(ShmSocket &socket, const int64_t val); void OnFree(ShmSocket &socket, const int64_t val); -- Gitblit v1.8.0