From 358b0017d1d059d55822ca20d5a456c164897db1 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 13 Oct 2021 00:18:54 -0400 Subject: [PATCH] ngircd: Reduce ping-timeout for sic(1) sic(1) times out if the server hasn't sent a message in >5m, and ngircd won't send ping's if sic(1) is sending PRIVMSG's (and PRIVMSG's don't echo back), which all amounts to a subtle timeout bug--sic(1) won't PING the server if the user is typing commands and therefore when they stop typing it will wait 2m and check the 5m timeout and quit, thinking the server has gone away. Dropping the server's ping timeout to 60s means we will send a PING to sic before it can timeout on parsing. --- etc/ngircd/ngircd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/ngircd/ngircd.conf b/etc/ngircd/ngircd.conf index 00c9b6c..448dcac 100644 --- a/etc/ngircd/ngircd.conf +++ b/etc/ngircd/ngircd.conf @@ -14,6 +14,7 @@ [Limits] MaxJoins = 0 MaxNickLength = 9 + PingTimeout = 60 [SSL] CertFile = /etc/ngircd/cert.pem -- libgit2 1.1.1