• exec/load/ircd/core.js

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Wednesday, November 11, 2026 13:56:56
    https://gitlab.synchro.net/main/sbbs/-/commit/5c7a224dee32f6dd9ce34625
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    ircd: make outbound server link sockets non-blocking

    Accepted connections inherit nonblocking from their listener, but a
    socket the daemon connects itself stayed blocking, where send() loops
    until the peer has taken everything. A hub that stopped reading could
    hold the whole daemon in one send().

    Set nonblocking once the link is connected (after the TLS handshake,
    for a TLS link), so Queue_Send() gets short counts and its SendQ limit
    applies, as for inbound links.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)