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

Calling mlm_client_set_worker during exchange can lead to missed message #281

Open
diorcety opened this issue Sep 25, 2017 · 3 comments
Open

Comments

@diorcety
Copy link

diorcety commented Sep 25, 2017

Call mlm_client_set_worker will change the state of the client to confirming_state. If a message (stream, service, mailbox) arrived between this state change and the reply from the server, the message will not be handled (https://github.com/zeromq/malamute/blob/master/src/mlm_client_engine.inc#L853)

@diorcety diorcety changed the title Calling mlm_client_set_worker_ Calling mlm_client_set_worker during exchange can lead to missed message Sep 25, 2017
@diorcety
Copy link
Author

Small hacky(i'm not sure it's the good way to handle that) patch: diorcety@eae44c5

@malanka
Copy link
Contributor

malanka commented Sep 26, 2017

Seems that you are on the right way, but this file is 100% generated. You need to make changes in the template https://github.com/zeromq/zproto/blob/master/src/zproto_client_c.gsl

@diorcety
Copy link
Author

You mean src/mlm_client.xml ?

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

No branches or pull requests

2 participants