Files
neoirc/internal/ircserver/conn.go
user cfff726054
Some checks failed
check / check (push) Failing after 24s
fix(ircserver): KILL notify-and-close must not block the killer
WIP: Disconnect ran two blocking writes to the victim's socket on the
killer's goroutine with the full 30s writeTimeout each, so a victim that
stopped reading stalled the killer up to ~60s -- wedging the operator's
serve() loop or the HTTP KILL request. Move the notify-and-close to its
own goroutine and bound both writes with a short killWriteWindow.
2026-09-04 05:33:07 +00:00

14 KiB