From c1e39e20ca42b21eeac8b5068fa1f921bf9a070f Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 23 六月 2021 19:43:29 +0800 Subject: [PATCH] refactor, start tcp pub/sub. --- src/topic_node.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/topic_node.cpp b/src/topic_node.cpp index 5362318..6f98694 100644 --- a/src/topic_node.cpp +++ b/src/topic_node.cpp @@ -628,6 +628,7 @@ auto &sock = SockPub(); BHMsgHead head(InitMsgHead(GetType(pub), proc_id(), ssn())); AddRoute(head, sock); + head.set_topic(pub.topic()); if (timeout_ms == 0) { return sock.Send(BusAddr(), head, pub); -- Gitblit v1.8.0