On Thu, Oct 18, 2012 at 5:53 AM, Pieter Hintjens <[email protected]> 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.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
