Second subscription sometimes breaks the first subscription
Description
Environment
Ubuntu 10.04 (64bit)
GCC 4.6.1
Attachments
2
- 29 Sep 2011, 09:38 AM
- 28 Sep 2011, 12:25 PM
Activity
Show:
PieterP October 3, 2011 at 2:11 PM
We already backported this https://github.com/zeromq/libzmq/commit/7a10bbe77a31158da0573031f8d6a50812262858 to 3-0 and it's released today in 3.0.2.
Martin Sustrik October 3, 2011 at 1:57 PM
Yes, please.
BenP September 29, 2011 at 10:50 AM
Haha, I just came up with the same fix... by the time I'd figured out how to use git and github to send you a pull request, you'd done it. Anyway, confirmed that it works for my test cases.
Can it be merged to 3.0?
Martin Sustrik September 29, 2011 at 9:38 AM
This patch should fix the issue.
When a second subscriber subscribes to a topic , the first subscriber is no longer informed of the message. The problem only occurs for certain combinations of topics.
Test attached, it fails with the latest versions:
https://github.com/zeromq/zeromq3-0.git
https://github.com/zeromq/libzmq.git