Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9383:05eec45994d9 HEAD
Increased SASL auth packet max. sizes for GSSAPI.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 13 Sep 2009 21:43:53 -0400 |
parents | 6df681067e0a |
children | 42f6578c8602 |
files | src/auth/auth-client-interface.h src/login-common/client-common.h src/master/master-login-interface.h |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-client-interface.h Sun Sep 13 21:09:33 2009 -0400 +++ b/src/auth/auth-client-interface.h Sun Sep 13 21:43:53 2009 -0400 @@ -6,7 +6,7 @@ #define AUTH_CLIENT_PROTOCOL_MAJOR_VERSION 1 #define AUTH_CLIENT_PROTOCOL_MINOR_VERSION 0 -#define AUTH_CLIENT_MAX_LINE_LENGTH 8192 +#define AUTH_CLIENT_MAX_LINE_LENGTH 16384 /* Use a bit smaller than login process timeout */ #define AUTH_REQUEST_TIMEOUT (3*60 - 30)
--- a/src/login-common/client-common.h Sun Sep 13 21:09:33 2009 -0400 +++ b/src/login-common/client-common.h Sun Sep 13 21:43:53 2009 -0400 @@ -11,7 +11,7 @@ IMAP: Max. length of a single parameter POP3: Max. length of a command line (spec says 512 would be enough) */ -#define LOGIN_MAX_INBUF_SIZE 4096 +#define LOGIN_MAX_INBUF_SIZE 8192 struct client { struct client *prev, *next;
--- a/src/master/master-login-interface.h Sun Sep 13 21:09:33 2009 -0400 +++ b/src/master/master-login-interface.h Sun Sep 13 21:43:53 2009 -0400 @@ -11,7 +11,7 @@ /* This should be kept in sync with LOGIN_MAX_INBUF_SIZE. Multiply it by two to make sure there's space to transfer the command tag */ -#define MASTER_LOGIN_MAX_DATA_SIZE (4096*2) +#define MASTER_LOGIN_MAX_DATA_SIZE (8192*2) enum master_login_state { /* process is accepting new connections */