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>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net