[zeromq-dev] [PATCH] Publisher side filtering

Martin Sustrik sustrik at 250bpm.com
Fri Jan 28 12:59:32 CET 2011


Hi Gerard,

> This is patched against "sub-forward" branch.
>
> With this fix, the subscriptions are always forwarded upstream,
> regardless of which process is terminated.

I fixed the patch to handle some corner cases.

Also, the subscription pipe is dropped and re-instantiated on the PUB 
side. This will allow XPUB socket to drop the corresponding 
subscriptions from its map/trie when subscriber shuts down.

The changes are applied to sub-forward branch.

Let me know whether it works as expected.

Martin



More information about the zeromq-dev mailing list