[hackers] [ii][PATCH 1/2] Increase ping timeout for bad connections.

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Thu, 23 Dec 2021 22:11:07 +0100

---
 ii.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c
index 426fcff..1b3bb9e 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -30,7 +30,7 @@ size_t strlcpy(char *, const char *, size_t);
 
 #define IRC_CHANNEL_MAX   200
 #define IRC_MSG_MAX       512 /* guaranteed to be <= than PIPE_BUF */
-#define PING_TIMEOUT      300
+#define PING_TIMEOUT      600
 
 enum { TOK_NICKSRV = 0, TOK_USER, TOK_CMD, TOK_CHAN, TOK_ARG, TOK_TEXT, TOK_LAST };
 
-- 
2.30.1
Received on Thu Dec 23 2021 - 22:11:07 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 23 2021 - 22:48:35 CET