mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Merge pull request #486 from miniway/master
return EHOSTUNREACH at full only when mandatory is set
This commit is contained in:
commit
2a7b219f07
@ -166,7 +166,7 @@ int zmq::router_t::xsend (msg_t *msg_)
|
||||
if (!current_out->check_write ()) {
|
||||
it->second.active = false;
|
||||
current_out = NULL;
|
||||
unreach = true;
|
||||
unreach = mandatory ? true: false;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user