https://gitlab.synchro.net/main/sbbs/-/commit/cab425435ace689ceda32b4e
Modified Files:
src/ssh/TODO.md ssh-conn.c src/ssh/test/test_conn.c
Log Message:
Close items 92, 94: fix channel_read peek, add chan_type checks
Item 92: dssh_channel_read(sess, ch, NULL, 0) now reaches
msgqueue_pop() for peek (returns next message size without
consuming). Guard maybe_replenish_window on buf != NULL.
Item 94: all 11 channel I/O functions (7 session, 4 raw) now
check chan_type and return DSSH_ERROR_INVALID on mismatch.
New item 98: re-evaluate peek semantics for session channels.
5 new tests, 6 existing tests updated to set chan_type.
Co-Authored-By: Claude Opus 4.6 (1M context) <
[email protected]>
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net