mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 03:20:13 +01:00
return EHOSTUNREACH at full only when mandatory is set
This commit is contained in:
@@ -166,7 +166,7 @@ int zmq::router_t::xsend (msg_t *msg_)
|
|||||||
if (!current_out->check_write ()) {
|
if (!current_out->check_write ()) {
|
||||||
it->second.active = false;
|
it->second.active = false;
|
||||||
current_out = NULL;
|
current_out = NULL;
|
||||||
unreach = true;
|
unreach = mandatory ? true: false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user