Added test_metadata

- also prioritize ZAP metadata over ZMTP metadata in case application
  uses same names.
This commit is contained in:
Pieter Hintjens
2014-05-02 22:19:30 +02:00
parent ded00177b3
commit 84ed81c014
11 changed files with 175 additions and 56 deletions

View File

@@ -497,8 +497,7 @@ int zmq::curve_server_t::produce_ready (msg_t *msg_)
if (options.type == ZMQ_REQ
|| options.type == ZMQ_DEALER
|| options.type == ZMQ_ROUTER)
ptr += add_property (ptr, "Identity",
options.identity, options.identity_size);
ptr += add_property (ptr, "Identity", options.identity, options.identity_size);
const size_t mlen = ptr - ready_plaintext;