cad-editor/crates/ocs_plugin_api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven ccd249d40f fix(plugin): bound the runner handshake read with a deadline
The handshake verification used a raw blocking `recv`, the one unbounded
read in the spawn path: `accept` is guarded by `spawn_timeout` and every
host->runner `call` by `call_timeout`, but a process that won the accept
race and then sent nothing — or a runner that died mid-handshake — would
hang the host forever.

Route the handshake through the existing `recv_with_deadline` helper so
the first frame is bounded too (marking the process dead on timeout), and
reduce `verify_runner_handshake` to a pure token check on the received
message. Tests updated to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 10:41:01 +03:00
..
src fix(plugin): bound the runner handshake read with a deadline 2026-06-28 10:41:01 +03:00
Cargo.toml Adding runner handshake 2026-06-28 10:41:01 +03:00
REPORT.md Initial commit 2026-06-25 00:01:36 +03:00