Increase ping timeout for bad connections.

This commit is contained in:
Christoph Lohmann 2021-12-23 22:11:07 +01:00 committed by Hiltjo Posthuma
parent ecf390259c
commit d9be11ad05

2
ii.c
View File

@ -30,7 +30,7 @@ size_t strlcpy(char *, const char *, size_t);
#define IRC_CHANNEL_MAX 200 #define IRC_CHANNEL_MAX 200
#define IRC_MSG_MAX 512 /* guaranteed to be <= than PIPE_BUF */ #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 }; enum { TOK_NICKSRV = 0, TOK_USER, TOK_CMD, TOK_CHAN, TOK_ARG, TOK_TEXT, TOK_LAST };