diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-03-20 15:04:30 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-03-20 15:04:30 +0100 |
commit | f031677100b41347e09932fc973040097a2187e4 (patch) | |
tree | 246771e78ad6b486971187a9ec193ec8fb3110b8 /src/session.hpp | |
parent | dfdaff5eba1e6980adb3326c119d2070d0ad42bb (diff) |
rollback of half-processed messages in case of disconnection
Diffstat (limited to 'src/session.hpp')
-rw-r--r-- | src/session.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index 25a0d12..9bda1ad 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -72,6 +72,10 @@ namespace zmq // Inbound pipe, i.e. one the session is getting messages from. class reader_t *in_pipe; + // This flag is true if the remainder of the message being processed + // is still in the in pipe. + bool incomplete_in; + // If true, in_pipe is active. Otherwise there are no messages to get. bool active; |