From da1ef4d2685c02e8320847d49a38726b2b6d52f0 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Sun, 8 May 2011 09:02:47 +0200 Subject: Fixed REP assert on missing envelope Signed-off-by: Pieter Hintjens --- src/xrep.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/xrep.hpp') 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. -- cgit v1.2.3