mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-11-04 12:17:39 +01:00 
			
		
		
		
	prefix in XREP recv'd message misses MORE flag
This commit is contained in:
		@@ -220,6 +220,7 @@ int zmq::xrep_t::xrecv (zmq_msg_t *msg_, int flags_)
 | 
				
			|||||||
            zmq_assert (rc == 0);
 | 
					            zmq_assert (rc == 0);
 | 
				
			||||||
            memcpy (zmq_msg_data (msg_), inpipes [current_in].identity.data (),
 | 
					            memcpy (zmq_msg_data (msg_), inpipes [current_in].identity.data (),
 | 
				
			||||||
                zmq_msg_size (msg_));
 | 
					                zmq_msg_size (msg_));
 | 
				
			||||||
 | 
					            msg_->flags = ZMQ_MSG_MORE;
 | 
				
			||||||
            more_in = true;
 | 
					            more_in = true;
 | 
				
			||||||
            return 0;
 | 
					            return 0;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user