Subj : js_socket: TLS send failures are indistinguishable from short writes To : GitLab note in main/sbbs From : Deucе Date : Sun Jul 26 2026 10:00:09 https://gitlab.synchro.net/main/sbbs/-/issues/1199#note_9731 Regarding `js_socket_sendfilesocket()`, I think it is bad design for callers of `js_socket_sendsocket()` to have to check `SOCKET_ERRNO` themselves given that you need to know what library function was called last to understand what it indicates. The check should be moved into `js_socket_sendsocket()` which should return 0 on `EAGAIN`/`EWOULDBLCK` then all callers audited for the impact and to look for other cases of this abstraction leakage. --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .