• src/sbbs3/sbbscon.c

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Mar 1 20:30:38 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/eb160a3f20c0af8d60e6ecd0
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Document case fall-throughReported by Coverity
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Thu Dec 29 14:16:20 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a76c6d0e35f628a1d73d1d0d
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Publish a <host>/status to represent on/offline/disconnectedSet "last will" to publish the "disconnected" status.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Dec 30 00:44:08 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ce2056f4418b9acc8f304a6e
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Fix MQTT for daemonized sbbsNeed to start the MQTT init/thread-start stuff after daemonizing.Thanks to Nelgin for letting me know this was recently broken.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jan 1 11:43:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2d99f2848fd9559e2f19e226
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Fix sbbs startup issue when user is specific in sbbs.ini [unix]Bug introduced in the systemd integration (commit d02978ade98a8)and reported by Dan_C via #synchronet at irc.synchro.net
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jan 2 19:16:10 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/29460b517156d86cf68eb887
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Log an error upon failure to create/open the pid file
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jan 2 19:34:28 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f2b85c742c40881eb0c395bb
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Setup signal blocking before MQTT (which spawns a thread)This solves the problem of any signal (even HUP) ungracefully terminatingsbbs (on *nix) when MQTT was enabled. As reported by Nightfox on IRC.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Jan 3 18:00:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7da26d404ed24ebb4dc50be9
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Set server_stopped back to FALSE if a server is restarted (via recycle)A set_state() may be called with SERVER_STOPPED while recycling.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Jan 3 17:24:24 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c4d905847ba4bb2c90df81be
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Only report systemd service "READY=1" state if any server is actually readyany server "running" is not enough because the server could still beinitializing, re-initializing, or even shutting down.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 12 12:09:00 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c831eb434f3fc9acd86e8163
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    More consistent logging of errno value (and descriptions)Should use safe_strerror() here instead... later.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jun 12 17:05:40 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a4bc8a827e1b0a944ff48693
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    This is exactly the sort of race condition pthread_once() is for.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sat Dec 23 13:55:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bed33851d21f05ae63ec6f62
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Free scfg before exiting to calm down valgrind() about memleaks from here
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sat Dec 23 14:32:46 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7b5a7bdf0592a8b82ec48fbc
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Call sbbs_free_ini() during happy-path exit, to calm down valgrind

    This was not a real leak, but still, good practice
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)