WEFT_OS/crates/weft-compositor
Marco Allegretti d6a2f94a1d
fix(compositor): buffer appd-bound frames and ignore stale session disconnects
A full socket buffer toward a stalled appd closed the connection and
with it every app. Frames for appd are now queued whole and flushed on
each send and read, and only a backlog beyond the frame limit or a
write error ends the connection. A disconnect report is applied only
when it comes from the session's current client, so a client closed
with an earlier appd cannot remove the mapping of a new session that
reused its ID. A failure to watch a new appd connection no longer
leaves the compositor refusing every later one.

weft-appd refuses a launch with 503 before anything starts while the
compositor is not connected, and waits up to 10 s for the connection
before restoring the previous session.
2026-10-09 15:20:29 +00:00
..
src fix(compositor): buffer appd-bound frames and ignore stale session disconnects 2026-10-09 15:20:29 +00:00
Cargo.toml fix(compositor): bind each app session's Wayland client to its session through appd 2026-10-09 15:07:33 +00:00