[zeromq-dev] Fixing Socket Problem on ZMQ Version 2.2

Pieter Hintjens ph at imatix.com
Fri Jun 8 03:00:56 CEST 2012


Do you want to try backporting the fix to 2.2? It was not very
complex, as far as I remember. I fixed the code to simply reject the
duplicate identity and generate a random one for the second socket.

If you feel like making this change to 2.2, we need a test case and a
pull request.


On Thu, Jun 7, 2012 at 2:22 PM, Wen Qi Chin <wchin09 at gmail.com> wrote:
> Hello,
> I am currently using zmq version 2.2, and would like to fix a problem which
> causes crashes when two sockets connect with the same identity (see
> https://zeromq.jira.com/browse/LIBZMQ-325 for details). This issue seems to
> have been resolved in version 3.2, but because there are many significant
> API changes between 2.2 and 3.2, I will not be able to easily upgrade my zmq
> version to pick up the fix. Does anyone know of an easy way to fix this
> problem on 2.2 instead?
> Thank you
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list