-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add unicast interest feature #349
Add unicast interest feature #349
Conversation
@jean-roland If this pull request contains a bugfix or a new feature, then please consider using |
1 similar comment
@jean-roland If this pull request contains a bugfix or a new feature, then please consider using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cppcheck (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
@jean-roland If this pull request contains a bugfix or a new feature, then please consider using |
@jean-roland If this pull request contains a bugfix or a new feature, then please consider using |
@jean-roland If this pull request contains a bugfix or a new feature, then please consider using |
316cf04
to
16e9eb3
Compare
src/api/api.c
Outdated
// Trigger local subscriptions | ||
_z_trigger_local_subscriptions(&pub._val->_zn.in->val, pub._val->_key, payload, len | ||
#if Z_FEATURE_ATTACHMENT == 1 | ||
, | ||
opt.attachment | ||
#endif | ||
); | ||
|
||
return ret; | ||
// Check if write filter is active before writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Push messages are now sent to the network after local subscriptions trigger. We tend to have the previous order on purpose.
I guess we should add a toggle for |
ebdb01e
into
eclipse-zenoh:protocol_changes
This PR is the first concerning the upcoming
Declare interest
feature, it contains mainly the modification for unicast/client but also prepare the terrain for multicast/peer.This is a partial implementation of #331