Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4845:5cb424ffa365 HEAD
Increase allowed pre-login idle timeout from 1 minute to 3 minutes. This
allows the user to type the password more slowly, although I haven't heard
this causing problems for anyone.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 24 Nov 2006 11:32:05 +0200 |
parents | a0ba02928787 |
children | f358d1c28b9c |
files | src/imap-login/client.c src/pop3-login/client.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap-login/client.c Wed Nov 22 19:23:09 2006 +0200 +++ b/src/imap-login/client.c Fri Nov 24 11:32:05 2006 +0200 @@ -29,7 +29,7 @@ #define MAX_IMAP_LINE 8192 /* Disconnect client after idling this many seconds */ -#define CLIENT_LOGIN_IDLE_TIMEOUT 60 +#define CLIENT_LOGIN_IDLE_TIMEOUT (3*60) /* Disconnect client when it sends too many bad commands */ #define CLIENT_MAX_BAD_COMMANDS 10
--- a/src/pop3-login/client.c Wed Nov 22 19:23:09 2006 +0200 +++ b/src/pop3-login/client.c Fri Nov 24 11:32:05 2006 +0200 @@ -27,7 +27,7 @@ #define MAX_OUTBUF_SIZE 4096 /* Disconnect client after idling this many seconds */ -#define CLIENT_LOGIN_IDLE_TIMEOUT 60 +#define CLIENT_LOGIN_IDLE_TIMEOUT (3*60) /* Disconnect client when it sends too many bad commands */ #define CLIENT_MAX_BAD_COMMANDS 10