• Frederic Tregon's avatar
    Fixed issue #1690 (ZMQ_REQ_RELAXED) · 89417ddb
    Frederic Tregon authored
    When using ZMQ_REQ_RELAXED and a 'send' is executed after another 'send' the
    previous code would terminate the 'reply_pipe' if any.
    This is incorrect as terminating the reply pipe also terminates the send pipe
    as they are the same (a pipe associated with a socket is bidirectional).
    Doing a terminate on the pipe sets an internal flag called out_active to false
    and the pipe can no longer send messages.
    Removing the 'terminate' solves the problem. Removing this call is not an issue
    as the incorrect ordering of messages that could be incurred is taken care of
    by the ZMQ_REQ_CORRELATE option if needed.
    89417ddb
Name
Last commit
Last update
builds Loading commit data...
doc Loading commit data...
include Loading commit data...
packaging/nuget Loading commit data...
perf Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
tweetnacl 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...