commit 358b0017d1d059d55822ca20d5a456c164897db1 (patch)
parent 2d7f373bf8dbe3857ce6de988b374e80984d18d3
Author: alex <alex@garbash.com>
Date: Wed, 13 Oct 2021 00:18:54 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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