WEFT_OS/crates/weft-appd
Marco Allegretti 8c476fdf15
fix(appd): keep the relay's platform attribute on the function and bound frames exactly
The frame limit constant was inserted between spawn_ipc_relay's doc
comment and its cfg(unix) attribute, so the attribute applied to the
constant instead. A non-Unix build would have had two definitions of
the function.

The size is now checked before the line ending, so a frame one byte
over the limit is refused even when its line break arrives in the same
read. A message that is not UTF-8 ends the relay, as it did before,
rather than reaching the page with replacement characters. The test now
also covers a message at exactly the limit ending in CRLF.
2026-10-09 19:43:20 +00:00
..
src fix(appd): keep the relay's platform attribute on the function and bound frames exactly 2026-10-09 19:43:20 +00:00
Cargo.toml fix(appd): stabilize tests and unix-gate sd-notify 2026-03-13 12:52:39 +01:00