• src/sbbs3/websrvr.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, July 02, 2025 19:09:53
    https://gitlab.synchro.net/main/sbbs/-/commit/2444d7baeedd80af330377b6
    Modified Files:
    src/sbbs3/websrvr.c
    Log Message:
    Add protocol and IP address to more log messages (mostly JS-related)

    error and debug-level messsages mostly

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, July 02, 2025 20:42:33
    https://gitlab.synchro.net/main/sbbs/-/commit/b1fc88d375c0a3ba9065162a
    Modified Files:
    src/sbbs3/websrvr.c
    Log Message:
    Add protocol and IP address to more log messages

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, July 08, 2025 19:44:37
    https://gitlab.synchro.net/main/sbbs/-/commit/917f4933bd70546570101c75
    Modified Files:
    src/sbbs3/websrvr.c
    Log Message:
    Log proper errno value upon lseek() failure

    On Windows, SOCKET_ERRNO and errno are different things.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, August 07, 2025 22:32:51
    https://gitlab.synchro.net/main/sbbs/-/commit/6eed77574f0f016317b68f68
    Modified Files:
    src/sbbs3/websrvr.c
    Log Message:
    Immediately remove client IP from connections list upon session termination

    ... don't wait for all the other logout/off/notification stuff to complete first. These waits before removing the client IP from the connected client
    list were causing error 429 responses from the server even though the browser (i.e. Chrome) was actually opening just 6 connections at a time to the server:

    !Maximum concurrent connections (10) exceeded
    !ERROR: 429 Too Many Requests (line 6979) request:

    The first group of 6 client sessions from the browser had actually completed, but the session threads hadn't fully terminated yet. So now, it is possible to have a high(er) number of session threads than before, but web pages will render more reliably (without having to increase the max connections per
    client setting).

    The test to reproduce this issue was to just to go to www.synchro.net with a fresh browser (nothing cached) or hit Ctrl-Refresh to fully reload the page, and the result was a lot of absent/broken page elements.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net