You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PutBuilder's impl is sound, but Publication isn't as it doesn't take into consideration its SampleKind field.
To reproduce
git clone [email protected]:fuzzypixelz/zenoh.git -b doc-publisher-putbuilder-discrepancy
cd zenoh
# Should presumably be on the same network
cargo run --example z_write_delete # 1
cargo run --example z_sub_delete # 2
Notice that (1) performs a PUT with SampleKind::Delete using the Publisher::write method but (2) receives a sample with kind SampleKind::Put.
Describe the bug
PutBuilder's impl is sound, but Publication isn't as it doesn't take into consideration its
SampleKind
field.To reproduce
Notice that (1) performs a PUT with
SampleKind::Delete
using thePublisher::write
method but (2) receives a sample with kindSampleKind::Put
.System info
OS: macOS Ventura 13.6
CPU: Apple M1
Rev: d8c27a6
The text was updated successfully, but these errors were encountered: