summaryrefslogtreecommitdiff
path: root/src/xpub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-12 10:19:21 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-12 10:19:21 +0200
commite080e3e8b620b0e7ed02c28712a0c92b08de3451 (patch)
tree7e7aedfca8dd91e84d0825d251d122d3fe4ce7b3 /src/xpub.hpp
parentbd86def1c799a35d5cef0c0a9a1347a18fea227e (diff)
Publisher-side filtering for multi-part messages fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xpub.hpp')
-rw-r--r--src/xpub.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xpub.hpp b/src/xpub.hpp
index 740d1e2..a2e7335 100644
--- a/src/xpub.hpp
+++ b/src/xpub.hpp
@@ -66,6 +66,9 @@ namespace zmq
// Distributor of messages holding the list of outbound pipes.
dist_t dist;
+ // True if we are in the middle of sending a multi-part message.
+ bool more;
+
// List of pending (un)subscriptions, ie. those that were already
// applied to the trie, but not yet received by the user.
typedef std::deque <blob_t> pending_t;