Merge pull request #486 from miniway/master

return EHOSTUNREACH at full only when mandatory is set
This commit is contained in:
Pieter Hintjens 2012-12-09 01:25:51 -08:00
commit 2a7b219f07

View File

@ -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