Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
a3889d00
Commit
a3889d00
authored
Oct 19, 2012
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue #451
parent
45c06372
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
zmq_setsockopt.txt
doc/zmq_setsockopt.txt
+2
-5
router.cpp
src/router.cpp
+1
-1
No files found.
doc/zmq_setsockopt.txt
View file @
a3889d00
...
...
@@ -371,11 +371,8 @@ ZMQ_ROUTER_MANDATORY: accept only routable messages on ROUTER sockets
Sets the 'ROUTER' socket behavior when an unroutable message is encountered. A
value of `0` is the default and discards the message silently when it cannot be
routed. A value of `1` returns an 'EAGAIN' error code if the message cannot be
routed.
Note: Setting this socket option may have unpredictable effects on reactor-type
libraries that assume EAGAIN will only be sent in HWM-type situations.
routed. A value of `1` returns an 'EHOSTUNREACH' error code if the message
cannot be routed.
[horizontal]
Option value type:: int
...
...
src/router.cpp
View file @
a3889d00
...
...
@@ -162,7 +162,7 @@ int zmq::router_t::xsend (msg_t *msg_, int flags_)
else
if
(
mandatory
)
{
more_out
=
false
;
errno
=
E
AGAIN
;
errno
=
E
HOSTUNREACH
;
return
-
1
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment