summaryrefslogtreecommitdiff
path: root/src/xreq.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-11-14 11:15:20 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-14 11:15:20 +0100
commit21bca4dbe48cffdaa1e1108600973559a3b880d2 (patch)
tree7293029a23b8cb32488a5e25be1b1ffb382c5587 /src/xreq.hpp
parent1c239708ab174c1de9f99e256d23158f74a24dbc (diff)
Bug concerining identity in XREQ socket fixed (issue 280)
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xreq.hpp')
-rw-r--r--src/xreq.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xreq.hpp b/src/xreq.hpp
index 4c94cad..897c197 100644
--- a/src/xreq.hpp
+++ b/src/xreq.hpp
@@ -62,6 +62,12 @@ namespace zmq
fq_t fq;
lb_t lb;
+ // Have we prefetched a message.
+ bool prefetched;
+
+ // Holds the prefetched message.
+ msg_t prefetched_msg;
+
xreq_t (const xreq_t&);
const xreq_t &operator = (const xreq_t&);
};