0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 00:32:34 +08:00
Frederic Tregon e45dfe3bc7 Fixed issue #1695 (ZMQ_REQ_CORRELATE)
Problem: when using ZMQ_REQ_RELAXED + ZMQ_REQ_CORRELATE and two 'send' are
executed in a row and no server is available at the time of the sends,
then the internal request_id used to identify messages gets corrupted and
the two messages end up with the same request_id. The correlation no
longer works in that case and you may end up with the wrong message.

Solution: make a copy of the request_id instance member before sending it
down the pipe.
2016-03-20 20:38:18 +01:00
..
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00
2015-12-08 13:16:09 +06:00