• src/sbbs3/answer.cpp js_console.cpp main.cpp sbbs.h xtrn.cpp

    From rswindell@1:103/705 to CVS commit on Fri Oct 20 20:19:52 2023
    src/sbbs3 answer.cpp 1.106 1.107 js_console.cpp 1.137 1.138 main.cpp 1.759 1.760 sbbs.h 1.545 1.546 xtrn.cpp 1.250 1.251
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17759

    Modified Files:
    answer.cpp js_console.cpp main.cpp sbbs.h xtrn.cpp
    Log Message:
    Always use a passthru (proxy) socket when executing external programs that
    use socket I/O (e.g. sexyz, door32.sys doors, sync-xsdk doors) - not just when the client is connected via SSH. This solves a number of problems:
    - programs that change socket options
    - programs that don't support non-CP437 charsets (e.g. PETSCII, UTF-8)
    - programs that don't support Telnet-IAC escaping

    This greatly simplifies (reduces the need for) input_thread locking.

    The passthru_thread now handles chunks of up to 4000 bytes per transfer
    between socket and ringbuf, instead of a char at a time, greatly improving the performance.

    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)