zenoh-c
zenoh-c copied to clipboard
[Bug] When using unixpipe transport, killing an application stops remote applications.
Describe the bug
When using unixpipe transport, killing an application stops remote applications.
To reproduce
- Build examples with unixpipe feature.
mkdir build
cd build
cmake .. -DZENOHC_CARGO_FLAGS="--features=zenoh/transport_unixpipe"
cmake --build . --target examples
- Start
z_sub
with unixpipe listening endpoint../target/release/examples/z_sub "demo/example/**" "[\"unixpipe/test.pipe\"]"
- Start
z_pub
with unixpipe connect endpoint../target/release/examples/z_pub "demo/example/zenoh-c-pub" "Pub from C" 0 "[\"unixpipe/test.pipe\"]"
- Kill
z_pub
-
z_sub
exits.
System info
- Platform: MacOS
- CPU: M2
- zenoh-c version: commit
bd0fe98772b7d65e8fb71eb0369d7c85c9b09c73
I think we need to investigate the pipe spec on it's behavior when other pipe end closes. That might be the reason of this bug.