dovecot-1.2: Increased SASL auth packet max. sizes for GSSAPI.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 14 04:43:59 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/05eec45994d9
changeset: 9383:05eec45994d9
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 13 21:43:53 2009 -0400
description:
Increased SASL auth packet max. sizes for GSSAPI.
diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
src/auth/auth-client-interface.h | 2 +-
src/login-common/client-common.h | 2 +-
src/master/master-login-interface.h | 2 +-
diffs (36 lines):
diff -r 6df681067e0a -r 05eec45994d9 src/auth/auth-client-interface.h
--- 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)
diff -r 6df681067e0a -r 05eec45994d9 src/login-common/client-common.h
--- 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;
diff -r 6df681067e0a -r 05eec45994d9 src/master/master-login-interface.h
--- 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 */
More information about the dovecot-cvs
mailing list