Commit 0e1448a2 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1550 from xaqq/master

Problem: Identity frame from router has no metadata
parents bc513b63 370b8c9b
......@@ -327,6 +327,8 @@ int zmq::router_t::xrecv (msg_t *msg_)
errno_assert (rc == 0);
memcpy (msg_->data (), identity.data (), identity.size ());
msg_->set_flags (msg_t::more);
if (prefetched_msg.metadata())
msg_->set_metadata(prefetched_msg.metadata());
identity_sent = true;
}
......
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