[zeromq-dev] ZMQ_ROUTER_MANDATORY (was ZMQ_ROUTER_BEHAVIOR)

Pieter Hintjens ph at imatix.com
Thu Oct 18 06:53:43 CEST 2012


On Thu, Oct 18, 2012 at 12:08 PM, Ian Barber <ian.barber at gmail.com> wrote:

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

The wait is in socket_base.cpp:send, where it says:

    //  Oops, we couldn't send the message. Wait for the next
    //  command, process it and try to send the message again.
    //  If timeout is reached in the meantime, return EAGAIN.

-Pieter



More information about the zeromq-dev mailing list