Commit be6019ab authored by Martin Sustrik's avatar Martin Sustrik

issue 28. - SNDMORE/ RCVMORE is dropping every other message

parent 2e9be56a
......@@ -226,11 +226,11 @@ int zmq::req_t::xrecv (zmq_msg_t *msg_, int flags_)
zmq_assert (zmq_msg_size (msg_) == 0);
rc = zmq_msg_close (msg_);
zmq_assert (rc == 0);
}
// Get the actual reply.
bool recvd = reply_pipe->read (msg_);
zmq_assert (recvd);
// Get the actual reply.
bool recvd = reply_pipe->read (msg_);
zmq_assert (recvd);
}
// If this was last part of the reply, switch to request phase.
more = msg_->flags & ZMQ_MSG_MORE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment