• src/sbbs3/main.cpp un_rep.cpp

    From rswindell@1:103/705 to CVS commit on Mon Apr 16 15:37:48 2018
    src/sbbs3 main.cpp 1.710 1.711 un_rep.cpp 1.63 1.64
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19342

    Modified Files:
    main.cpp un_rep.cpp
    Log Message:
    2 unrelated changes:
    1: Wrap SSH cryptDestroySession() calls in a wrapper that tracks the number of
    open sessions and logs errors upon failure (and remaining session count).
    This is how I found the SSH session leak in sbbs_t::hangup().
    Also found multiple cals to SSH_END() which were invalid (no session to
    destroy) and removed them.
    2: If errors are detected when unpacking a REP packet, save the .rep file
    (in data/file/<filename.rep>.<timestamp>.bad) for later inspection.
    Also added some VOTING.DAT debug output (to be removed later).
    Trying to the get to the bottom of the
    "smb_addvote thread_back field missing" errors.

    --- SBBSecho 3.04-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Feb 16 22:25:27 2019
    src/sbbs3 main.cpp 1.742 1.743 un_rep.cpp 1.72 1.73
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    main.cpp un_rep.cpp
    Log Message:
    Beautify and eliminate some of the QWK/REP unpacking output/log msgs.
    Only treat an invalid QWK msg block count (<2) as an error if there is
    more than one msg header in the packet (stop saving so many worthless data/file/*.rep.*.bad files).


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)