dovecot-2.1: imap-login: LOGIN_MAX_INBUF_SIZE was too small, bec...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 3 13:13:07 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/614422fbbe8b
changeset: 13881:614422fbbe8b
user: Timo Sirainen <tss at iki.fi>
date: Tue Jan 03 13:13:37 2012 +0200
description:
imap-login: LOGIN_MAX_INBUF_SIZE was too small, because of SASL-IR extension
diffstat:
src/login-common/client-common.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r d4c909d2306f -r 614422fbbe8b src/login-common/client-common.h
--- 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
More information about the dovecot-cvs
mailing list