https://gitlab.synchro.net/main/sbbs/-/commit/cf61b24879c7527ce99b248b
Modified Files:
src/sbbs3/ftpsrvr.cpp
Log Message:
FTP Server: log a dropped TLS control connection as a notice
A TLS client that disconnects without closing the session makes
cryptPopData() fail with CRYPT_ERROR_READ or CRYPT_ERROR_WRITE, which recverror() reported as "!ERROR: recv on socket returned unexpected
value: -42" at warning level. A camera uploading over FTPS produced
dozens of these a day.
Log those two statuses as "TLS connection lost on receive" at notice
level, like the other peer disconnects. Other cryptlib statuses are
still reported as unexpected.
Identify the client in every recverror() message: <alias> once logged
in, [ip-address] before. They carried only the socket number.
Drop the "!ERROR" marker from the two recverror() messages logged
below error severity (#1396).
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)