Commit 2a7b219f authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #486 from miniway/master

return EHOSTUNREACH at full only when mandatory is set
parents 8da6b7a6 394d755c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment