Wen, 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. -Pieter On Thu, Jun 7, 2012 at 2:22 PM, Wen Qi Chin <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
