BBS: TELESC.NET.BR Assunto: src/syncterm/CHANGES conn.c ssh.c De: Deuc¨ Data: Wed, 20 May 2026 16:41:25 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/05048761b284b8a78a93decd Modified Files: src/syncterm/CHANGES conn.c ssh.c Log Message: syncterm: pin SO_SNDBUF/SO_RCVBUF to 1 MiB on all TCP connections ssh.c set SO_SNDBUF=1 MiB after connect but left SO_RCVBUF at the kernel default, and the other TCP transports (telnet, telnets, rlogin, raw) inherited Windows' ~8 KiB defaults for both directions. A telnet download on Windows therefore capped at roughly RCVBUF/RTT about 400 KiB/s on a 20 ms link regardless of how fast the server streamed. Lift the buffer setup into conn_socket_connect() so every TCP transport gets a 1 MiB baseline in both directions. ssh_set_sftp_buffer_mode() still dynamically drops SO_SNDBUF to 64 KiB during SFTP activity so keystrokes don't queue behind bulk data; the connect-time 1 MiB is the value it restores to. n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]