• src/sbbs3/ftpsrvr.cpp mailsrvr.cpp services.cpp trash.h websrvr.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, February 06, 2026 02:45:51
    https://gitlab.synchro.net/main/sbbs/-/commit/3647500dae6b2959d2fe1841
    Modified Files:
    src/sbbs3/ftpsrvr.cpp mailsrvr.cpp services.cpp trash.h websrvr.cpp
    Log Message:
    Create/use C++ class wrapper for cached ip/host/ip-silent.can files

    I have a pretty well maintained text/ip.can file, and it is still over 500KB. That half-MB file was being read over a network share for every single TCP connection. This fixes that.

    I'm not using this for the terminal server yet since it doesn't get hit nearly as frequently as the other servers and there's special handling of .can files there (the auto display of bad*.msg files).

    This commit also includes fixes for a lot of new warnings in ftpsrvr.cpp when built with g++.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Rob Swindell (on Windows on Friday, February 06, 2026 06:24:43
    Re: src/sbbs3/ftpsrvr.cpp mailsrvr.cpp services.cpp trash.h websrvr.cpp
    By: Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Fri Feb 06 2026 02:45 am

    https://gitlab.synchro.net/main/sbbs/-/commit/3647500dae6b29
    59d2fe1841 Modified Files: src/sbbs3/ftpsrvr.cpp
    mailsrvr.cpp services.cpp trash.h websrvr.cpp Log Message:
    Create/use C++ class wrapper for cached ip/host/ip-silent.can
    files

    I have a pretty well maintained text/ip.can file, and it is still
    over 500KB. That half-MB file was being read over a network share
    for every single TCP connection. This fixes that.

    I'm not using this for the terminal server yet since it doesn't
    get hit nearly as frequently as the other servers and there's
    special handling of .can files there (the auto display of bad*.msg
    files).

    This commit also includes fixes for a lot of new warnings in
    ftpsrvr.cpp when built with g++.



    so will this speed things up for people with just large .can files?
    i remember telling you years ago that mine was big and there was a large
    delay to login. i had to trim it down short.


    --
    "Before using Wildcat....This Company did not have a convenient way of
    looking after some of the richest clients in the world...Now we do!"
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::