Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: XPUB_MANUAL subscriptions not removed on peer term #2603

Merged
merged 2 commits into from
Jun 22, 2017

Conversation

bluca
Copy link
Member

@bluca bluca commented Jun 22, 2017

Solution: remove the pipe from the real trie when a peer disconnects.
Also add a unit test that exercises the behaviour by reconnecting
a different socket and sending a message that matches.
Fixes #2601 and introduced by #2042

Also fix another unit test.

bluca added 2 commits June 22, 2017 00:58
Solution: fix unit test to bind after setting the option.
Solution: remove the pipe from the real trie when a peer disconnects.
Also add a unit test that exercises the behaviour by reconnecting
a different socket and sending a message that matches.
Fixes zeromq#2601 and introduced by zeromq#2042
@bluca
Copy link
Member Author

bluca commented Jun 22, 2017

@somdoron your comment on #2042 (comment) was spot on :-)

@somdoron somdoron merged commit f5da4b1 into zeromq:master Jun 22, 2017
@bluca bluca deleted the xpub_manual_subs branch June 22, 2017 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZMQ_XPUB_MANUAL subscriptions not properly cleaned up
2 participants