mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||