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

various improvement #27

Merged
merged 4 commits into from
Dec 1, 2019
Merged

various improvement #27

merged 4 commits into from
Dec 1, 2019

Conversation

lugu
Copy link
Owner

@lugu lugu commented Dec 1, 2019

  • Client handle the "cancelled" response type.
  • Do not register to a signal twice from a socket (fix double signal bug)
  • IDL generation: fix name collision issue preventing naov6 IDL generation
  • Re-enable statistics and trace testing

One cannot call RegisterEvent on the same signal twice without receiving
undistinguishable events. This lead to a situation where signals events
are received twice. Since clients share the same socket this became a
problem.

In order to avoid such situation, one need a state machine at the socket
level: this change introduce a subscription abstraction linked to the
client. It also makes the session re-use clients in order to ensure a
single subscription is used per socket.
Register interface name when generating interfaces to avoid collision
with a struct. NAOv6 IDL have both a service called knowledge and a
struct called knowledge.
@lugu lugu merged commit 1167181 into master Dec 1, 2019
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.

1 participant