https://gitlab.synchro.net/main/sbbs/-/commit/e721b0a9796a5da67c412825
Modified Files:
src/ssh/audit-design.md ssh-conn.c src/ssh/test/test_conn.c
Log Message:
Fix audit item 13: server accept supports ZC mode
dssh_chan_accept() now checks result.zc_cb after the setup loop:
non-NULL selects DSSH_IO_ZC with the app's callback (no ring
buffers); NULL keeps DSSH_IO_STREAM with the internal adapter.
Added test_accept_zc: client opens stream subsystem, server accepts
with ZC callback, bidirectional data roundtrip verified.
Corrected all 24 stale line-number references in audit-design.md
(off-by-ones, wrong ranges, and two major misrefs: mode dedup
pointed at set_command, event_cb propagation cited the wrong site).
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net