zeromq/jyre — pull request #7 by sjohnr (2014-06-08 02:56:29+00:00)
Title: Fixed problem with SHOUT caused by frames being destroyed after sending to first peer

Please review. I added a test which demonstrates the problem (and had to change the existing ZrePing in the test as well).

For now, I just duplicated the message for sending to each peer in the group. There may be other solutions too. I also changed the codec to destroy frame fields in the destroy() method... Not technically necessary but I thought it would fix it at first, and now it seems logical to keep.