changeset 4846:f358d1c28b9c HEAD

Auth request timeout needs to be larger than login process timeout, which was just increased.
author Timo Sirainen <tss@iki.fi>
date Sat, 25 Nov 2006 13:56:07 +0200
parents 5cb424ffa365
children 7f250cd01843
files src/auth/auth-client-interface.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-client-interface.h	Fri Nov 24 11:32:05 2006 +0200
+++ b/src/auth/auth-client-interface.h	Sat Nov 25 13:56:07 2006 +0200
@@ -7,7 +7,8 @@
 #define AUTH_CLIENT_PROTOCOL_MINOR_VERSION 0
 
 #define AUTH_CLIENT_MAX_LINE_LENGTH 8192
-#define AUTH_REQUEST_TIMEOUT 120
+/* Use a bit larger than login process timeout */
+#define AUTH_REQUEST_TIMEOUT (3*60 + 30)
 
 enum mech_security_flags {
 	/* Don't advertise this as available SASL mechanism (eg. APOP) */