[zeromq-dev] Assertion failure in pull.cpp

Pieter Hintjens ph at imatix.com
Sat Aug 21 11:20:09 CEST 2010

On Sat, Aug 21, 2010 at 8:47 AM, Jon Dyte <jon at totient.co.uk> wrote:

>> *GRIN* Honestly - I keep running into the same thing every time I start
>> a new up/downstream pair. Caveat: Because I was part of the discussion
>> on the naming, I actively think "don't get this the wrong way around"
>> and proceed to do exactly that :)
> I made exactly the same error doing that test program for Oliver!!!

The direction of the pipeline is now pretty clear, using PUSH/PULL.
That's fine.  But we all make mistakes when we write code...

The main lesson here seems to be that 0MQ will have to do pattern
verification so that it catches errors like this.

I.e. in the protocol, the connecting socket has to tell the other peer
what type it is, so the endpoint can reject illegal connections and
the caller can be told about it.

Pieter Hintjens
iMatix - www.imatix.com

More information about the zeromq-dev mailing list