• src/syncterm/conn.c conn.h rlogin.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Apr 23 18:36:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f7b93b090d1f384beafdb6d2
    Modified Files:
    src/syncterm/conn.c conn.h rlogin.c
    Log Message:
    SyncTERM: honor RFC 1282 TIOCFLUSH (0x02) OOB byte in rlogin

    When the rlogin server sends the 0x02 urgent byte, it's signalling
    (after a server-side interrupt) that any client output still queued
    is stale and should be dropped. Add a conn_buf_reset() helper that
    clears a conn_buffer under its mutex and wakes any writer blocked on
    free space, and call it on conn_outbuf from rlogin_handle_control().

    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)