diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-03-27 14:24:57 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-03-27 14:24:57 +0100 |
commit | 06538fc11790a0cf895c43d137a33febf97f3a28 (patch) | |
tree | 5188e6054c8075561297d8bba9e4b29fc6e98475 /src/rep.hpp | |
parent | bbfac783f91f6692b7f9c0aa5392ac955f7b49bf (diff) |
multi-part messages work with REQ/REP sockets
Diffstat (limited to 'src/rep.hpp')
-rw-r--r-- | src/rep.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rep.hpp b/src/rep.hpp index 51a49a9..3ec2b53 100644 --- a/src/rep.hpp +++ b/src/rep.hpp @@ -64,8 +64,13 @@ namespace zmq // Index of the next inbound pipe to read a request from. in_pipes_t::size_type current; - // If true, request was already received and reply wasn't sent yet. - bool waiting_for_reply; + // If true, request was already received and reply wasn't completely + // sent yet. + bool sending_reply; + + // True, if message processed at the moment (either sent or received) + // is processed only partially. + bool tbc; // Pipe we are going to send reply to. class writer_t *reply_pipe; |