[zeromq-dev] ROUTER/DEALER doesn't work after ROUTER restart

MinRK benjaminrk at gmail.com
Sun May 27 20:49:55 CEST 2012


The ROUTER/DEALER pattern doesn't work after the ROUTER restarts unless you
restart the DEALER as well.


Summary:

1. ROUTER binds, DEALER connects
2. ROUTER process restarts (or close & bind new ROUTER)
3. routing, prefixes, and messages are broken hereafter

Symptoms: first send on a DEALER after the new ROUTER comes up will end up
setting the IDENTITY, rather than making a receivable message. Only after
the *second* such message is sent by the DEALER does the ROUTER actually
have a message to receive.

Opened as LIBZMQ-369 <https://zeromq.jira.com/browse/LIBZMQ-369> with
attached python test case, which I hope is considered a blocker for a
libzmq-3 stable release.

-MinRK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120527/b72a798a/attachment.htm>


More information about the zeromq-dev mailing list