[zeromq-dev] ZMQ_ROUTER_MANDATORY (was ZMQ_ROUTER_BEHAVIOR)

Ian Barber ian.barber at gmail.com
Thu Oct 18 05:08:03 CEST 2012


On Thu, Oct 18, 2012 at 3:51 AM, Pieter Hintjens <ph at imatix.com> wrote:

> Hi,
>
> I'm trying this option and notice that when the message cannot be
> routed, zmq_sendmsg blocks forever. To get sane behavior I have to set
> ZMQ_SNDTIMEO to a low value, e.g. 100 msecs.
>
> Has anyone else experienced this, and does it seem what we expect?
>
> -Pieter


Certainly isn't what's expected - if it can't be routed that should be an
immediate fail - it's just looking up the pipe, so there's nothing that
should take any time.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121018/f0d49976/attachment.htm>


More information about the zeromq-dev mailing list