eclipse-zenoh / zenoh-pico

Eclipse zenoh for pico devices
Other
112 stars 72 forks source link

Fifo/Ring handlers behavior for 0 buffer size #572

Closed DenisBiryukov91 closed 1 month ago

DenisBiryukov91 commented 2 months ago

Describe the feature

Currently Fifo handler with 0 buffer size will block indefinitely (behavior different from Zenoh-Rust where it turns in rendezvous channel), while Ring handler with 0 size will simply drop the messages (same as in Zenoh-Rust) For simplicity, it would probably make sense to forbid creation of handlers with 0 buffer size.

sashacmc commented 1 month ago

@milyin please assign it to me.