Mercurial > dovecot > core-2.2
changeset 13881:614422fbbe8b
imap-login: LOGIN_MAX_INBUF_SIZE was too small, because of SASL-IR extension
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 03 Jan 2012 13:13:37 +0200 |
parents | d4c909d2306f |
children | 12e59954a23f |
files | src/login-common/client-common.h |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login-common/client-common.h Mon Jan 02 16:30:06 2012 +0200 +++ b/src/login-common/client-common.h Tue Jan 03 13:13:37 2012 +0200 @@ -7,10 +7,11 @@ /* max. size of input buffer. this means: - IMAP: Max. length of a single parameter + IMAP: Max. length of a single parameter. SASL initial response can be + long with GSSAPI. POP3: Max. length of a command line (spec says 512 would be enough) */ -#define LOGIN_MAX_INBUF_SIZE 1024 +#define LOGIN_MAX_INBUF_SIZE 4096 /* max. size of output buffer. if it gets full, the client is disconnected. SASL authentication gives the largest output. */ #define LOGIN_MAX_OUTBUF_SIZE 4096