XPUB/XSUB Sockets Not Filtering Correctly
Description
Environment
Windows C, Windows C+, Windows C#, Linux C+
Attachments
3
Activity
Show:

Martin Sustrik October 7, 2011 at 7:38 AM
Fixed.

PieterP October 3, 2011 at 1:31 PM
Calvin, thanks a lot for this. I've merged it, pushed back to master. Sorry we just missed the 3.0.2 release.

Calvin de Vries October 3, 2011 at 1:18 PM
I just committed some code that makes my solution identical to Martin's, the commit now appears in the pull request "Bugfix to cover all XPUB/XSUB cases" so you should just be able to pull that one in.

PieterP October 3, 2011 at 1:09 PM
Calvin,
If you would provide me with a pull request against the current 3-0 master that uses the same solution as libzmq master, that'd be ideal. Thanks a lot!

Martin Sustrik September 29, 2011 at 12:02 PM
Oops. I've meant to write "Calvin" :| Sorry!
Using the new XPUB/XSUB sockets, an XSUB socket can send the subscription message to XPUB successfully, however, the XPUB socket fails to filter and the XSUB socket receives ALL messages - not just the ones that match the provided binary filter.