[zeromq-dev] ZMQ_FAIL_UNROUTABLE functionality change / BC

Pieter Hintjens ph at imatix.com
Sun Jun 17 11:07:45 CEST 2012

On Sun, Jun 17, 2012 at 9:46 AM, Ian Barber <ian.barber at gmail.com> wrote:

> I just merged in a commit from Andrey that changes the behavior of the
> ZMQ_FAIL_UNROUTABLE sockopt - it is renamed to ZMQ_ROUTER_BEHAVIOR (though
> with the same value), and now causes an EAGAIN rather than EHOSTUNREACH. I
> believe this functionality was only in 3.x, and since we're still on the RC
> this may be fine, but this may be a BC break, particularly for any bindings
> that were checking for EHOSTUNREACH or referencing the constant.

I think given that this was new code, released in a rc, it's OK to
break the previous name and behaviour.

However if there's anyone who's affected by this change, it'd be good
to hear from them.


More information about the zeromq-dev mailing list