[zeromq-dev] Assertion failure in pull.cpp
Pieter Hintjens
ph at imatix.com
Sat Aug 21 15:21:38 CEST 2010
On Sat, Aug 21, 2010 at 2:56 PM, Alexey Ermakov <zee at technocore.ru> wrote:
> On Sat, Aug 21, 2010 at 1:57 PM, Pieter Hintjens <ph at imatix.com> wrote:
>> Any other combinations e.g. XREP<->XREP or XREP<->XREQ must be bridged via code.
>
> Wait a minute, XREQ <-> XREP aren't supposed to be connected to each
> other? So the fact that it's possible and works right now is a bug?
I don't know, and was over-hasty in writing that email.
>From a naive perspective XREQ and XREP have different representations
for the message so aren't compatible. XREQ sends A and XREQ gives
IDENTITY+A.
But that doesn't make it invalid, just undocumented.
What is a bug (or at least a loophole) is allowing SUB<->SUB,
PUB<->PUB, PUB<->PULL, XREQ<->PULL, etc.
-
Pieter Hintjens
iMatix - www.imatix.com
More information about the zeromq-dev
mailing list