Ian Barber ian.barber at gmail.com
Fri Oct 19 00:49:00 CEST 2012

On Thu, Oct 18, 2012 at 5:53 AM, Pieter Hintjens <ph at imatix.com> wrote:.
> 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

Hmm, I'm wondering if in the XSEND we need to use EHOSTUNREACH or similar,
and turn that into an EAGAIN in send to avoid this. Problem is that spills
the mandatory flag out to the socket_base as well as router. Right the code
is correct for most EAGAINs, wrong for this specific case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121018/3868d425/attachment.htm>

More information about the zeromq-dev mailing list