https://gitlab.synchro.net/main/sbbs/-/commit/3881be3f01b1a70348c07ce1
Modified Files:
exec/tests/qwkjob/pack.js src/sbbs3/ftpsrvr.cpp jsexec.cpp main.cpp qwkjob.cpp qwkjob.h sbbs.h services.cpp websrvr.cpp web/root/qwk.ssjs
Log Message:
qwkjob: log like the hosting session; name files after this machine
QWK job log lines carried a fixed per-server label ("ftp <alias> ...",
"web", "srvc", "term") where the server's own lines carry the client socket number. Each session now hands the job a copy of its server's job host
labeled with its socket (FTP, Web and Services, formatted "%04d" like their other lines) or "Node N" (Terminal Server scripts), so the lines read
"1752 <alias> Packing QWK Message Packet". Jobs started from event-thread scripts get no label, since the event log already tags them.
The per-host part of job file names (temp dirs, data/file staging names and
the FTP and Web REP names) was the configured system host name, a FQDN ("vert.synchro.net"). It is now the machine name from gethostname() ("VERT"), as in sbbs.<host>.ini and the per-host semaphore files; the new qwkjob_local_host_name() returns it, made safe for a file name, and qwk.ssjs uses system.local_host_name. The lock files' owner text is unchanged.
The data/file staging names now say what they hold: <user#>.<host>.<pid>.qwk.tmp for a QWK packet being packed, and <user#>.<host>.ftp<socket>.rep.tmp / <user#>.<host>.web<token>.rep.tmp for
a REP packet being queued.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net