https://gitlab.synchro.net/main/sbbs/-/commit/34c2c2297c4ff70efb85720c
Modified Files:
src/ssh/README.md TODO.md deucessh.h ssh-conn.c ssh-internal.h ssh-trans.c ssh.c src/ssh/test/test_selftest.c
Log Message:
Close items 65, 66: session-wide inactivity timeout for unbounded waits
Add dssh_session_set_timeout() and DSSH_ERROR_TIMEOUT. Default 75s
(standard BSD TCP connect timeout). Converts 4 unbounded cnd_wait()
sites to cnd_timedwait(): open_session_channel, send_channel_request_wait, setup_recv return DSSH_ERROR_TIMEOUT; send_packet rekey wait terminates
the session (rekey failure is fatal). Shared dssh_deadline_from_ms()
extracted to ssh-internal.h. 4 new tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <
[email protected]>
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net