diff options
author | Pieter Hintjens <ph@imatix.com> | 2011-05-08 09:02:47 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-08 09:02:47 +0200 |
commit | da1ef4d2685c02e8320847d49a38726b2b6d52f0 (patch) | |
tree | f4b63f141a2a01c6e7a1d4366e678e15820ae5de /src/xrep.hpp | |
parent | 0c5b781e97f2bea42925495a5505c51e769fba7f (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.hpp | 5 |
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. |