• src/sbbs3/ratelimit.hpp

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Tuesday, April 07, 2026 20:00:11
    https://gitlab.synchro.net/main/sbbs/-/commit/e57ac918b88b43e39f7baa9b
    Modified Files:
    src/sbbs3/ratelimit.hpp
    Log Message:
    Mutex-protect the map (the client IP/count dataset)

    Although this has been running for months without issue on multiple servers
    for vert/www/git.synchro.net, I did observe *a* (one) crash that let me know this could ultimately fail in the exact right circumstances.

    Although the use of std::mutex caused issues (crashes) when used in filterFile and older MSVC++ runtime libs, it appears to be fine when used in this class: no crash observed when run on Windows 7.

    Fix issue #1113
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)