summaryrefslogtreecommitdiff
path: root/src/xrep.hpp
diff options
context:
space:
mode:
authorPieter Hintjens <ph@imatix.com>2011-05-08 09:02:47 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-05-08 09:02:47 +0200
commitda1ef4d2685c02e8320847d49a38726b2b6d52f0 (patch)
treef4b63f141a2a01c6e7a1d4366e678e15820ae5de /src/xrep.hpp
parent0c5b781e97f2bea42925495a5505c51e769fba7f (diff)
Fixed REP assert on missing envelope
Signed-off-by: Pieter Hintjens <ph@imatix.com>
Diffstat (limited to 'src/xrep.hpp')
-rw-r--r--src/xrep.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrep.hpp b/src/xrep.hpp
index 1c45655..7ca138c 100644
--- a/src/xrep.hpp
+++ b/src/xrep.hpp
@@ -51,6 +51,11 @@ namespace zmq
bool xhas_in ();
bool xhas_out ();
+ protected:
+
+ // Rollback any message parts that were sent but not yet flushed.
+ int rollback ();
+
private:
// Hook into the termination process.