• Frederic Tregon's avatar
    Fixed issue #1695 (ZMQ_REQ_CORRELATE) · e45dfe3b
    Frederic Tregon authored
    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.
    e45dfe3b
Name
Last commit
Last update
builds Loading commit data...
doc Loading commit data...
include Loading commit data...
m4 Loading commit data...
packaging Loading commit data...
perf Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Dockerfile Loading commit data...
FindSodium.cmake Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.cygwin.md Loading commit data...
README.md Loading commit data...
acinclude.m4 Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
branding.bmp Loading commit data...
ci_build.sh Loading commit data...
configure.ac Loading commit data...
installer.ico Loading commit data...
version.sh Loading commit data...