Commit 2faedd9e authored by Ian Barber's avatar Ian Barber

Merge pull request #300 from hurtonm/router_send_fixes

router: always respect message boundaries
parents 5c6e2788 600488fa
......@@ -152,11 +152,9 @@ int zmq::router_t::xsend (msg_t *msg_, int flags_)
current_out = it->second.pipe;
if (!current_out->check_write ()) {
it->second.active = false;
more_out = false;
current_out = NULL;
}
} else if(fail_unroutable) {
more_out = false;
errno = EHOSTUNREACH;
retval = -1;
}
......
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