• docs/v322_new.md src/sbbs3/sbbs_ini.c src/sbbs3/scfg/scfgindex.h scfgs

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Dec 5 22:47:29 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e74f8c45098d79829db2524a
    Modified Files:
    docs/v322_new.md src/sbbs3/sbbs_ini.c src/sbbs3/scfg/scfgindex.h scfgsrvr.c src/sbbs3/websrvr.cpp websrvr.h
    Log Message:
    Web Server: limit the idle time, requests and age of keep-alive connections

    An HTTP/1.1 connection could stay open indefinitely: a client that kept
    sending requests within MaxInactivity of each other was never
    disconnected, so a crawler could hold a session thread and client slot
    for many hours on one socket, without ever reconnecting and so facing
    the connect-time filters and connection rate limiter again.

    Three new [Web] settings, in SCFG under Web Server > Keep-Alive
    Connections, with 0 meaning no limit:

    - KeepAliveTimeout (default 15s): how long a connection may sit idle
    waiting for its next request. That wait was bounded by MaxInactivity
    (default 2 minutes), which still bounds the first request and stalls
    within a request, such as a slow upload or download. A value at or
    above MaxInactivity has no effect.
    - MaxKeepAliveRequests (default 1000): requests per connection.
    - MaxConnectionDuration (default 1h): age of a connection.

    A connection that reaches the request or age limit gets
    "Connection: Close" on that response and is then closed, so the client
    receives a complete reply and opens a new connection for its next
    request. The defaults match nginx's keepalive_requests and
    keepalive_time.

    Fixes #1154

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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