0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 10:18:01 +08:00

Fix documentation of the ZMQ_REQ_CORRELATE option.

Full message is actually (request id, identity, 0,
user frames...).
This commit is contained in:
Ilya Kulakov 2015-08-10 22:32:16 -04:00
parent 1cccf94c2e
commit b1bdec4404

View File

@ -533,7 +533,7 @@ ZMQ_REQ_CORRELATE: match replies with requests
The default behavior of REQ sockets is to rely on the ordering of messages to
match requests and responses and that is usually sufficient. When this option
is set to 1, the REQ socket will prefix outgoing messages with an extra frame
containing a request id. That means the full message is (request id, 0,
containing a request id. That means the full message is (request id, identity, 0,
user frames...). The REQ socket will discard all incoming messages that don't
begin with these two frames.