dovecot-2.0: imap-login: LOGIN_MAX_INBUF_SIZE was too small, bec...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 3 13:13:41 EET 2012
details: http://hg.dovecot.org/dovecot-2.0/rev/d06061408f6d
changeset: 13006:d06061408f6d
user: Timo Sirainen <tss at iki.fi>
date: Tue Jan 03 13:13:03 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 49a77e9dad66 -r d06061408f6d src/login-common/client-common.h
--- a/src/login-common/client-common.h Tue Dec 20 14:45:09 2011 +0200
+++ b/src/login-common/client-common.h Tue Jan 03 13:13:03 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